Informationsteknologi Sikkerhedsteknikker Virkemåder for en n-bit blokalgoritme

Relaterede dokumenter
Informationsteknologi Åben distribueret databehandling Referencemodel: Arkitektonisk semantik Tillæg 1: Computerbaserede formler

Informationsteknologi Sikkerhedsteknikker. Del 3: Dedikerede hashfunktioner

Informationsteknologi Multimedierammestruktur

Informationsteknologi Meddelelseshåndteringssystemer (MHS) Samarbejde med på internet

Informationsteknologi Sikkerhedsteknikker. (MAC) Del 3: Mekanismer, der anvender universel hashfunktion

Informationsteknologi Multimedieanvendelsesformat (MPEG-A) Del 2: Anvendelsesformat for MPEGmusikafspiller

Informationsteknologi Sikkerhedsteknikker. Del 2: Hashfunktioner, der anvender n-bit blokchiffer

Mekaniske vibrationer Vurdering af maskinvibrationer ved måling på ikkeroterende dele Del 1: Generelle retningslinjer

Informationsteknologi Skærmikoner og -symboler til personligt, mobilt kommunikationsudstyr

Jordbrug Traktorer Bagmonteret trepunktsophæng Kategori 1N, 1, 2N, 2, 3N, 3, 4N og 4

Identifikationskort Integrerede kredsløb Del 11: Personlig verifikation gennem biometrisk metode

Marksprøjter Sprøjtedyser Farvekode til identifikation

Informationsteknologi Automatisk identifikation og datafangstteknikker Kode 128 stregkode symbologispecifikation

Software- og systemudvikling Højniveau-petrinet Del 1: Begreber, definitioner og grafiske tegnesystemer

COPYRIGHT Danish Standards. NOT FOR COMMERCIAL USE OR REPRODUCTION. DS/ISO/IEC /Amd. 1: CD-rom

Malinger og lakker Bestemmelse af bestandighed mod cykliske korrosionsbetingelser Del 1: Vådt (salttåge)/tørt/fugtigt

Skibs- og marineteknologi Liste over maritime standarder

Motorkøretøjer Fartskriversystemer Del 2: Elektrisk grænseflade med optageenhed

Compressed air Part 1: Contaminants and purity classes

Dansk standard DS/ISO/IEC

COPYRIGHT Danish Standards. NOT FOR COMMERCIAL USE OR REPRODUCTION. DS/ISO/IEC /Amd.2:2000

Optik og optiske instrumenter Medicinske endoskoper og endoskopitilbehør Del 5: Bestemmelse af optisk opløsning af stive endoskoper med optik

Teknisk produktdokumentation Dokumenttyper

Hjælpemidler til stomi og inkontinens Udskylningssæt Krav og prøvningsmetoder

Sensorisk analyse Metodologi Sekventiel analyse

Reaction-to-fire tests Guidance on the choice of substrates for building and transport products

Technical drawings General principles of presentation Part 1: Introduction and index

Kirurgiske implantater Delvis og hel hofteledsprotese Del 2: Ledflader lavet af metalliske og keramiske materialer og plastmaterialer

Beskyttelsesbeklædning til beskyttelse mod kemikalier Klassificering, mærkning og krav til ydeevne

Plast Eksponeringsmetoder til laboratorielyskilder Del 3: Fluorescerende UV-lamper

Informationsteknologi Sikkerhedsteknikker

Sensorisk analyse Retningslinjer for brug af kvantitative responsskalaer

Access panels in market, opinion and social research Vocabulary and service requirements

Elektronisk arkivering Del 1: Specifikationer vedrørende udvikling og drift af et informationssystem til sikring af elektroniske dokumenter

Plast-aluminium-kapsler til infusionsflasker og injektionshætteglas Krav og prøvningsmetoder

Informationsteknologi. Åbne systemers sammenkobling. Definition af præsentationslagstjeneste. Tillæg 2: Funktionsenhed for indskudt sammenkobling

Teknisk tegning Grafiske skemasymboler Del 1: Generel information og overordnede indekser

Kød og kødprodukter. Måling af ph-værdi. Referencemetode

Kirurgiske implantater Intramedullære

Informationsteknologi Multimedierammestruktur

Informationsteknologi Sikkerhedsteknikker. Del 2: Vejledning i design og implementering af netværkssikkerhed

Informationsteknologi. Brugersystemets grænseflader og symboler. Ikonsymboler og funktioner. Del 6: Aktionsikoner

Informationsteknologi Identifikation og styring af mobile enheder Service broker for Mobile AIDC services

Støj fra værktøjsmaskiner Driftsbetingelser for metalskæremaskiner

Foderstoffer Bestemmelse af råaske

Ships and marine technology Position-indicating lights for life-saving appliances Testing, inspection and marking of production units

Informationsteknologi Universelt fleroktet kodet tegnsæt (UCS) Tillæg 2: N'Ko, Phags-pa, fønikiske og andre tegn

Informationsteknologi. Sikkerhedsteknikker. Meddelelsesautentificerings koder (MACs). Del 1: Mekanismer, der anvender blokchiffer

Kirurgiske implantater Intramedullære

Softwareudvikling Produktevaluering Del 2: Planlægning og ledelse

Kirurgiske implantater Hydroxyapatit Del 2: Belægninger af hydroxyapatit

Kvalitetsstyringssystemer Vejledning for konfigurationsstyring

Informationsteknologi Generisk kodning af levende billeder og tilknyttet lydinformation: Systemer

Textiler Prøvningsmetode til bedømmelse af vævet stofs glathed efter rensning

Fritidsdykkerservice Krav til snorkel/dykkerledere

Fritidsdykkerservice Krav til snorkel/dykkerledelse

Textiler Prøvningsmetode til bedømmelse af pressefolder i vævet stof efter rensning

Informationsteknologi Sikkerhedsteknikker Vejledning i auditering af informationssikkerhedskontroller

Informationsteknologi 8-bit-kodede grafiske tegnsæt Del 7: Latinsk/græsk alfabet

Ydeevne for udstyr til genvinding og/eller genanvendelse af kølemiddel

Informationsteknologi Sikkerhedsteknikker. Del 3: Mekanismer, der producerer sammenhængende tokens

Ships and marine technology Computer applications Shipboard loading instruments

Tobak Prøveudtagning af partier af råmateriale Generelle principper

Dansk standard DS/ISO 15096

Skibsbyggeri og marine konstruktioner Dæksmaskineri Terminologi og symboler

Informationsteknologi Ydeevneprøvning. til evaluering af teknologi og scenarier

Crop protection equipment Field measurement of spray distribution in tree and bush crops

Cardiovascular implants and artificial organs Cardiopulmonary bypass systems Arterial blood line filters

Specifikationer for processkemaer til procesindustrien Del 1: Generelle regler

Jordbrug Marksprøjter Testbane for marksprøjter

Identifikationskort Kort med integrerede kredse Del 6: Interindustrielle dataelementer

Informationsteknologi Biometrisk dataudvekslingsformat Del 7: Signatur/underskriftstidspunkt dataserie

Jordbrug Traktorer Bagmonteret trepunktsophæng Kategori 1N, 1, 2N, 2, 3N, 3, 4N og 4

Identifikationskort Optageteknik Del 8: Magnetiske striber Koercivitet på 51,7 ka/m (650 Oe)

Jordundersøgelser Bestemmelse af mulig salpeterdannelse i jord Hurtigprøve ved ammoniumoxidering

Overensstemmelsesvurdering Videregivelse af oplysninger Principper og krav

Kirurgiske implantater Knogleplader af metal Huller, der passer til skruer med asymmetrisk gevind og sfærisk underside

Informationsteknologi Multimedierammestruktur. Del 15: Rapportering af hændelser

Informationsteknologi Cloudcomputing Referencearkitektur

Teknisk tegning Almene tegneregler Del 50: Grundlæggende regler for angivelse af områder på snitafbildninger og snit

Informationsteknologi Teknikker til automatisk identifikation og datafangst Specifikation for EAN/UPC-stregkodesymbologi

Aircraft De-icing/anti-icing fluids ISO type I

Teknisk tegning Almene tegneregler Del 25: Linjer på skibsbygningstegninger

Dansk Standard DS/ISO/IEC Godkendelsesblad. systemer

Yogurt Determination of total solids content (Reference method)

Akustik Lydisolering af rør, ventiler og flanger

Mælk Bestemmelse af indhold af kasein-nitrogen Del 1: Indirekte metode (referencemetode)

Personal financial planning Requirements for personal financial planners

Dansk Standard DS/EN udgave. COPYRIGHT Danish Standards. NOT FOR COMMERCIAL USE OR REPRODUCTION. DS/EN :2001

Informationsteknologi Identifikation og styring af mobile enheder Del 1: Protokol for mobil RFID-læser for ISO/IEC , type C

Traktorer til landbrug og skovbrug Sikkerhed Del 2: Smalsporede og små traktorer

Mikrobiologisk undersøgelse af fødevarer og foderstoffer Bestemmelse af vandaktivitet

Dansk standard DS/ISO Soil quality Sampling Part 4: Guidance on the procedure for investigation of natural, near-natural and cultivated sites

Foderstoffer. Bestemmelse af fedtindhold

Teknisk tegning Almene tegneregler Del 40: Grundlæggende regler for snitafbildninger og snit

Thermal insulation Mineral-wool loose-fill for horizontal applications in ventilated roof spaces Part 2: Principal responsibilities of installers

Informationsteknologi Sikkerhedsteknikker Processer for sårbarhedshåndtering

Dansk standard DS/ISO Supply chain applications of RFID Product tagging. 1. udgave

Acoustics Description, measurement and assessment of environmental noise Part 2: Determination of environmental noise levels

Kirurgiske implantater Knoglesøm og knogletråd af metallisk materiale Del 1: Generelle krav

Transkript:

Dansk standard DS/ISO/IEC 10116 2. udgave 2007-06-18 Informationsteknologi Sikkerhedsteknikker Virkemåder for en n-bit blokalgoritme Information technology Security techniques Modes of operation for an n-bit block cipher algorithm

DS/ISO/IEC 10116 København DS projekt: 48774 ICS: 35.040 Første del af denne publikations betegnelse er: DS/ISO/IEC, hvilket betyder, at det er en international standard, der har status som dansk standard. Denne publikations overensstemmelse er: IDT med: ISO IEC 10116:2006. DS-publikationen er på engelsk. Denne publikation erstatter: DS/ISO/IEC 10116:1997. DS-publikationstyper Dansk Standard udgiver forskellige publikationstyper. Typen på denne publikation fremgår af forsiden. Der kan være tale om: Dansk standard standard, der er udarbejdet på nationalt niveau, eller som er baseret på et andet lands nationale standard, eller standard, der er udarbejdet på internationalt og/eller europæisk niveau, og som har fået status som dansk standard DS-information publikation, der er udarbejdet på nationalt niveau, og som ikke har opnået status som standard, eller publikation, der er udarbejdet på internationalt og/eller europæisk niveau, og som ikke har fået status som standard, fx en teknisk rapport, eller europæisk præstandard DS-håndbog samling af standarder, eventuelt suppleret med informativt materiale DS-hæfte publikation med informativt materiale Til disse publikationstyper kan endvidere udgives tillæg og rettelsesblade DS-publikationsform Publikationstyperne udgives i forskellig form som henholdsvis fuldtekstpublikation (publikationen er trykt i sin helhed) godkendelsesblad (publikationen leveres i kopi med et trykt DS-omslag) elektronisk (publikationen leveres på et elektronisk medie) DS-betegnelse Alle DS-publikationers betegnelse begynder med DS efterfulgt af et eller flere præfikser og et nr., fx DS 383, DS/EN 5414 osv. Hvis der efter nr. er angivet et A eller Cor, betyder det, enten at det er et tillæg eller et rettelsesblad til hovedstandarden, eller at det er indført i hovedstandarden. DS-betegnelse angives på forsiden. Overensstemmelse med anden publikation: Overensstemmelse kan enten være IDT, EQV, NEQ eller MOD IDT: Når publikationen er identisk med en given publikation. EQV: Når publikationen teknisk er i overensstemmelse med en given publikation, men præsentationen er ændret. NEQ: Når publikationen teknisk eller præsentationsmæssigt ikke er i overensstemmelse med en given standard, men udarbejdet på baggrund af denne. MOD: Når publikationen er modificeret i forhold til en given publikation.

INTERNATIONAL STANDARD ISO/IEC 10116 Third edition 2006-02-01 Information technology Security techniques Modes of operation for an n-bit block cipher Technologies de l'information Techniques de sécurité Modes opératoires pour un chiffrement par blocs de n-bits Reference number ISO/IEC 10116:2006(E) ISO/IEC 2006

PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO/IEC 2006 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISO's member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyright@iso.org Web www.iso.org ii ISO/IEC 2006 All rights reserved

Contents Page Foreword............................................. vii 1 Scope............................................ 1 2 Normative references.................................... 1 3 Terms and definitions................................... 2 4 Symbols (and abbreviated terms)............................. 3 5 Requirements....................................... 5 6 Electronic Codebook (ECB) mode............................ 6 6.1 Preliminaries..................................... 6 6.2 Encryption...................................... 6 6.3 Decryption...................................... 6 7 Cipher Block Chaining (CBC) mode........................... 6 7.1 Preliminaries..................................... 6 7.2 Encryption...................................... 7 7.3 Decryption...................................... 7 8 Cipher Feedback (CFB) mode............................... 8 8.1 Preliminaries..................................... 8 8.2 Encryption...................................... 8 8.3 Decryption...................................... 9 9 Output Feedback (OFB) mode.............................. 10 9.1 Preliminaries..................................... 10 9.2 Encryption...................................... 10 9.3 Decryption...................................... 11 10 Counter (CTR) mode................................... 11 10.1 Preliminaries..................................... 11 10.2 Encryption...................................... 12 10.3 Decryption...................................... 12 Annex A (normative) Object identifiers........................... 14 Annex B (informative) Properties of the modes of operation................ 16 B.1 Properties of the Electronic Codebook (ECB) mode of operation........ 16 B.2 Properties of the Cipher Block Chaining (CBC) mode of operation....... 17 B.3 Properties of the Cipher Feedback (CFB) mode of operation.......... 18 B.4 Properties of the Output Feedback (OFB) mode of operation.......... 20 B.5 Properties of the Counter (CTR) mode of operation............... 21 Annex C (informative) Figures describing the modes of operation............. 23 c ISO/IEC 2006 All rights reserved iii

Annex D (informative) Examples for the Modes of Operation............... 26 D.1 General........................................ 26 D.2 Triple Data Encryption Algorithm......................... 26 D.2.1 ECB Mode................................... 27 D.2.2 CBC Mode................................... 29 D.2.3 CFB Mode................................... 31 D.2.4 OFB Mode................................... 34 D.2.5 Counter Mode................................. 35 D.3 Advanced Encryption Standard........................... 36 D.3.1 ECB Mode................................... 36 D.3.2 CBC Mode................................... 37 D.3.3 CFB Mode................................... 38 D.3.4 OFB Mode................................... 39 D.3.5 Counter Mode................................. 40 Bibliography........................................... 41 Figures C.1 The Cipher Block Chaining (CBC) mode of operation with m = 1......... 23 C.2 The Cipher Block Chaining (CBC) mode of operation................ 23 C.3 The Cipher Feedback (CFB) mode of operation.................... 24 C.4 The Output Feedback (OFB) mode of operation................... 24 C.5 The Counter (CTR) mode of operation......................... 25 iv c ISO/IEC 2006 All rights reserved

Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identfying any or all such patent rights. ISO/IEC 10116 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcomittee SC 27, IT Security techniques. This third edition cancels and replaces the second edition (ISO/IEC 10116:1997) which has been revised. Implementations that comply with ISO/IEC 10116:1997 will also comply with this third edition. The main technical changes between the second edition and this third edition are as follows: a) CBC mode has been extended to permit interleaving; and b) a new mode (Counter mode) has been introduced. c ISO/IEC 2006 All rights reserved v

Introduction ISO/IEC 10116 specifies modes of operation for an n-bit block cipher. These modes provide methods for encrypting and decrypting data where the bit length of the data may exceed the size n of the block cipher. This third edition of ISO/IEC 10116 specifies five modes of operation: a) Electronic Codebook (ECB); b) Cipher Block Chaining (CBC); c) Cipher Feedback (CFB); d) Output Feedback (OFB); and e) Counter (CTR). vi c ISO/IEC 2006 All rights reserved

INTERNATIONAL STANDARD ISO/IEC 10116:2006(E) Information technology Security techniques Modes of operation for an n-bit block cipher 1 Scope This International Standard establishes five modes of operation for applications of an n-bit block cipher (e.g. protection of data transmission, data storage). The defined modes only provide protection of data confidentiality. Protection of data integrity and requirements for padding the data are not within the scope of this International Standard. Also most modes do not protect the confidentiality of message length information. This International Standard specifies the modes of operation and gives recommendations for choosing values of parameters (as appropriate). The modes of operation specified in this International Standard have been assigned object identifiers in accordance with ISO/IEC 9834. The list of assigned object identifiers is given in Annex A. In applications in which object identifiers are used, the object identifiers specified in Annex A are to be used in preference to any other object identifiers that may exist for the mode concerned. NOTE Annex B (informative) contains comments on the properties of each mode. Block ciphers are specified in ISO/IEC 18033-3. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 18033-3, Information technology Security techniques Encryption algorithms Part 3: Block ciphers. c ISO/IEC 2006 All rights reserved 1