VMAC

VMAC is a block cipher-based message authentication code (MAC) algorithm using a universal hash proposed by Ted Krovetz and Wei Dai in April 2007. The algorithm was designed for high performance backed by a formal analysis. [citation needed]

VMAC is designed to have exceptional performance in software on 64-bit CPU architectures while still performing well on 32-bit architectures. [citation needed] Measured speeds are as fast as one-half CPU cycle per byte (cpb) on 64-bit architectures, under five cpb on desktop 32-bit processors, and around ten cpb on embedded 32-bit architectures.[1] A closely related variant of VMAC that is optimized for 32-bit architectures is given by UMAC.

Overview

VMAC is a MAC in the style of Wegman and Carter.[2][3] A fast "universal" hash function is used to hash an input message M into a short string. [citation needed] This short string is then combined by addition with a pseudorandom pad, resulting in the VMAC tag. Security depends on the sender and receiver sharing a randomly chosen secret hash function and pseudorandom pad. This is achieved by using keyed hash function H and pseudorandom function F. A tag is generated by performing the computation

    Tag = HK1(M) + FK2(Nonce)

where K1 and K2 are secret random keys shared by sender and receiver, and Nonce is a value that changes with each generated tag. The receiver needs to know which nonce was used by the sender, so some method of synchronizing nonces needs to be used. This can be done by explicitly sending the nonce along with the message and tag, or agreeing upon the use of some other non-repeating value such as a sequence number. The nonce need not be kept secret, but care needs to be taken to ensure that, over the lifetime of a VMAC key, a different nonce is used with each message.

VMAC uses a function, called VHASH (also specified in this document), as the keyed hash function H and uses a pseudorandom function F whose default implementation uses the AES block cipher. VMAC allows for tag lengths of any 64-bit multiple up to the block size of the block cipher in use. When using AES, this means VMAC can produce 64- or 128-bit tags.

The theory of Wegman-Carter MACs and the analysis of VMAC show that if one "instantiates" VMAC with truly random keys and pads then the probability that an attacker (even a computationally unbounded one) produces a correct tag for messages of its choosing is less than 1/260 or 1/2120 when the tags are of length 64 or 128 bits, respectively. When an attacker makes N forgery attempts the probability of getting one or more tags right increases linearly to less than N/260 or N/2120. In an applied implementation of VMAC, using AES to produce keys and pads, these forgery probabilities increase by a small amount related to the security of AES. As long as AES is secure, this small additive term is insignificant for any practical attack. See specification for more details. Analysis of VMAC security has been carried out by authors Wei Dai and Ted Krovetz. [citation needed][4]

Implementations

References

  1. ^ T. Krovetz and W. Dai (2007). "VMAC: Message Authentication Code using Universal Hashing". CFRG Working Group. IETF. Retrieved 2010-08-12.
  2. ^ J. Carter; M. Wegman (1977). "Universal classes of hash functions (Extended Abstract)". Proceedings of the ninth annual ACM symposium on Theory of computing - STOC '77. ACM. pp. 106–112. doi:10.1145/800105.803400. S2CID 1302091.
  3. ^ J. Carter; M. Wegman (1981). "New hash functions and their use in authentication and set equality". Journal of Computer and System Sciences. 22 (3): 265–279. doi:10.1016/0022-0000(81)90033-7.
  4. ^ T. Krovetz (2007). "Message Authentication on 64-Bit Architectures" (PDF). Selected Areas in Cryptography. Lecture Notes in Computer Science. Vol. 4356. Springer-Verlag. pp. 327–341. doi:10.1007/978-3-540-74462-7_23. ISBN 978-3-540-74461-0. ISSN 0302-9743.
  5. ^ "vmac.h (source code)". Retrieved 2022-11-13.
  6. ^ "vmac.c (source code)". Retrieved 2022-11-13.
  7. ^ "Crypto++: vmac.h Source File". www.cryptopp.com.
  8. ^ "Crypto++: vmac.cpp Source File". www.cryptopp.com.
  9. ^ Krovetz, Ted (2007-04-22). "An unoptimized, straightforward reference implementation of VMAC". Retrieved 2022-11-13.

Read other articles:

莎拉·阿什頓-西里洛2023年8月,阿什頓-西里洛穿著軍服出生 (1977-07-09) 1977年7月9日(46歲) 美國佛羅里達州国籍 美國别名莎拉·阿什頓(Sarah Ashton)莎拉·西里洛(Sarah Cirillo)金髮女郎(Blonde)职业記者、活動家、政治活動家和候選人、軍醫活跃时期2020年—雇主內華達州共和黨候選人(2020年)《Political.tips》(2020年—)《LGBTQ國度》(2022年3月—2022年10月)烏克蘭媒體…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Februari 2023. Subhilhar lahir pada tanggal 18 Juli 1962 di Jakarta. Ia adalah seorang guru besar Ilmu Politik. Dia pernah menjabat sebagai Pembantu Rektor II Universitas Sumatera Utara, Dekan FISIP Universitas Sumatera Utara dan Ketua Program Magister Studi Pembanguna…

Частина серії проФілософіяLeft to right: Plato, Kant, Nietzsche, Buddha, Confucius, AverroesПлатонКантНіцшеБуддаКонфуційАверроес Філософи Епістемологи Естетики Етики Логіки Метафізики Соціально-політичні філософи Традиції Аналітична Арістотелівська Африканська Близькосхідна іранська Буддійсь…

  هذه المقالة عن يوحنا المعمدان بحسب النظرة المسيحية. لالنبي يحيى في الإسلام، طالع يحيى بن زكريا. القِدِّيسُ يُوحَنَّا المَعْمَدَانיוחנן המטבילܝܘܚܢܢ ܡܥܡܕܢܐ ࡉࡀࡄࡉࡀ ࡉࡅࡄࡀࡍࡀ أيقونة شرقية تصور يوحنا المعمدان بريشة أندريه روبليوف السابق، الصابغ، البشير، الشهيد، المع…

Government position This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The examples and perspective in this article deal primarily with the United Kingdom and do not represent a worldwide view of the subject. You may improve this article, discuss the issue on the talk page, or create a new article, as appropriate. (May 2020) (Learn how and when to remove this message) This article's tone or sty…

Danilo Pereira Informasi pribadiNama lengkap Danilo Luís Hélio PereiraTanggal lahir 9 September 1991 (umur 32)Tempat lahir Bissau, Guinea-BissauTinggi 1,88 m (6 ft 2 in)Posisi bermain Gelandang Bertahan, BekInformasi klubKlub saat ini Paris Saint-GermainNomor 15Karier junior2002–2005 Arsenal 722005–2008 Estoril-Praia2008–2010 BenficaKarier senior*Tahun Tim Tampil (Gol)2010–2013 Parma 5 (0)2011 → Aris FC (pinjaman) 5 (2)2012-2013 → Roda JC Kerkrade (pinjaman) 31 …

2017 video game 2017 video gameMass Effect: AndromedaDeveloper(s)BioWarePublisher(s)Electronic ArtsDirector(s)Mac WaltersProducer(s)Fabrice CondominasMike GambleFernando MeloDesigner(s)Ian S. FrazierProgrammer(s)Harold ChaputJulien AdrianoArtist(s)Joel MacMillanWriter(s)John DombrowCathleen RootsaertChris SchlerfComposer(s)John PaesanoSeriesMass EffectEngineFrostbite 3Platform(s)PlayStation 4WindowsXbox OneReleaseNA: March 21, 2017PAL: March 23, 2017Genre(s)Action role-playingMode(s)Single-playe…

American politician (1912–2003) Martha Griffiths59th Lieutenant Governor of MichiganIn officeJanuary 1, 1983 – January 1, 1991GovernorJames BlanchardPreceded byJames BrickleySucceeded byConnie BinsfeldMember of the U.S. House of Representativesfrom Michigan's 17th districtIn officeJanuary 3, 1955 – December 31, 1974Preceded byCharles OakmanSucceeded byWilliam Brodhead Personal detailsBornMartha Edna Wright(1912-01-29)January 29, 1912Pierce City, Missouri, U.S.…

Government schoolNarayan Jagannath Vaidya Government Higher Secondary SchoolLocationKarachi, Sindh, PakistanInformationTypeGovernment SchoolEstablishedOctober 1855Enrollment1477 (March 1916) The Narayan Jagannath Vaidya Government Higher Secondary School at Karachi is the first government school established in Sindh, in modern Pakistan.[1] History It was opened in October 1855 with 68 boys. The original buildings were replaced by the present ones in 1876. It was named after the visionary…

Росіяни, які полягли за Україну під час російсько-української війни з 2014 року. Зміст 1 Війна на сході України (з 2014) 2 Російське вторгнення в Україну (з лютого 2022) 3 Див. також 4 Примітки Війна на сході України (з 2014) п/п Ім'я Місце смерті Військове формування Час Причина 1 Ящук Пав…

Combined military forces of Ukraine Ukrainian Armed ForcesЗбройні сили України (Ukrainian)Emblem of the Armed Forces of UkraineFlag of the Armed Forces of UkraineFounded29 March 1917; 107 years ago (1917-03-29)Current form6 December 1991; 32 years ago (1991-12-06)[1]Service branches Ground Forces Marine Corps Navy Air Force Air Assault Forces Special Operations Forces[2] Territorial Defense Forces[3]Unma…

Canoe Slalom World Cup The 2024 Canoe Slalom World Cup is the highest level season-long series of competitions across six canoe slalom disciplines organized by the International Canoe Federation (ICF). It is the 37th edition and will feature five stops (or races) in five different venues. Canoeists compete for the title of the overall world cup champion in each of the six disciplines (3 for men and 3 for women), which will be determined by the total number of points obtained from the five races.…

Bank for International SettlementsAnggota BISTanggal pendirian17 Mei 1930; 94 tahun lalu (1930-05-17)TipeLembaga keuangan internasionalTujuanKerja sama bank sentralLokasiBasel, Swiss (Yurisdiksi Ekstrateritorial)Koordinat47°32′53″N 7°35′31″E / 47.54806°N 7.59194°E / 47.54806; 7.59194Koordinat: 47°32′53″N 7°35′31″E / 47.54806°N 7.59194°E / 47.54806; 7.59194Jumlah anggota 62 bank sentralGeneral managerAgustín CarstensBad…

  لمعانٍ أخرى، طالع بودو (توضيح). بودو   الإحداثيات 67°16′58″N 14°22′30″E / 67.28267°N 14.37513°E / 67.28267; 14.37513   تاريخ التأسيس 1816  تقسيم إداري  البلد النرويج[1][2]  التقسيم الأعلى بودو  عاصمة لـ نورلانبودو  خصائص جغرافية  المساحة 14.16 كيلومتر مربع (1 …

American political party (1792–1834) Democratic Republican redirects here. For other uses, see Democratic Republican (disambiguation) and Democratic Republican Party. Democratic-Republican Party Other nameJeffersonian RepublicansRepublican PartyDemocratic Party[a]Founders Thomas Jefferson James Madison FoundedMay 13, 1792; 232 years ago (1792-05-13)[1]Dissolvedc. 1825; 199 years ago (1825)Preceded byAnti-Administration partySucceeded…

American college basketball season 2015–16 UCLA Bruins women's basketballNCAA tournament, Sweet SixteenConferencePac-12 ConferenceRankingCoachesNo. 13APNo. 10Record26–9 (14–4 Pac-12)Head coachCori Close (5th season)Assistant coaches Jenny Huth Tony Newnan Shannon Perry Home arenaPauley PavilionSeasons← 2014–152016–17 → 2015–16 Pac-12 Conference women's basketball standings vte Conf Overall Team W   L   PCT W   L   …

Earthenware vessel of Provence, France For other uses, see Tian (disambiguation). Tian D'aubergine served inside a tian A tian is an earthenware vessel of Provence used both for cooking and serving. It is also the name of the dish prepared in it and baked in an oven.[1] Tian comes from the ancient Provençal word designating a terracotta cooking dish, and is also used to refer to food prepared in it. The word comes from the ancient Greek teganon (frying pan).[2] The classic vesse…

  لمعانٍ أخرى، طالع بيتر ناغي (توضيح). هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يوليو 2019) بيتر ناغي (بالسلوفاكية: Peter Nagy)‏  معلومات شخصية الميلاد 17 ديسمبر 1964   براتيسلافا  الوفاة 3 ديسمبر 2021 (56 سنة) [1&…

Composite material consisting of ceramic fibers in a ceramic matrix Fracture surface of a fiber-reinforced ceramic composed of SiC fibers and SiC matrix. The fiber pull-out mechanism shown is the key to CMC properties. CMC shaft sleeves In materials science ceramic matrix composites (CMCs) are a subgroup of composite materials and a subgroup of ceramics. They consist of ceramic fibers embedded in a ceramic matrix. The fibers and the matrix both can consist of any ceramic material, including carb…

Sarappo KekeKoordinat4°48′41.000″LS,119°14′4.000″BTNegaraIndonesiaGugus kepulauanSpermondeProvinsiSulawesi SelatanKabupatenPangkajene dan KepulauanLuas33.094,0037291 m² Nomor 28 menunjukkan lokasi Pulau Sarappo Keke Sarappo Keke (Makassar: ᨔᨑᨄᨚ ᨀᨙᨀᨙ, translit. Sarappo Kéké, har. 'buah pinang kecil'), Sarappo Caddi, atau Sarappo Kecil adalah nama sebuah pulau kecil berpenghuni yang berada di gugusan Kepulauan Spermonde, perairan Selat Makass…