bend-osdev-cipher-modes
Search uses release 0.1.0.0 · 444 definitions
Definitions (444)
- law cbc_blocks_round_tripCBC on blocks: decryption undoes encryption, for every key, IV and message
- law cbc_round_tripCBC on bytes: for every 16-byte IV and every message of whole blocks, encryption succeeds and decryption gives the message back
- law xts_blocks_round_tripXTS on blocks: decryption undoes encryption, for every data key and every starting tweak (T_0 = Xts.tweak(k2, i), so every k2 and i are covered)
- law cmac_streamingCMAC in pieces: the state after a ++ b is the state after a, then b, for every cipher, key and state (so start, update ..
- law xts_round_tripXTS on bytes, with ciphertext stealing: for every 16-byte sequence number and every data unit of at least 16 bytes, encryption succeeds and decryption gives the data unit back
- law ccm_round_tripCCM: decryption accepts what encryption produced and gives the message back, for every cipher, key, tag length, nonce, associated data and message; when the parameters are refused, both refuse alike
- law block_octets_round_tripA block written as Octets reads back as the same block, for every block
- law aes128_fips197_c1FIPS 197 Appendix C.1: the named default cipher (AES-128) encrypts one block
- law aes_bad_key_lengtha key of a length AES-128 and AES-256 do not have is refused
- law cbc_sp800_38a_f21_block1NIST SP 800-38A Appendix F.2.1, CBC-AES128: its first block
- law cbc_not_whole_blocksthe byte layer refuses a message that is not whole blocks, and a short IV
- law cbc_short_iv
- law pkcs7_pad_emptyPKCS #7 (RFC 5652, 6.3): the empty message becomes a whole block of 16s; 15 bytes gain one 1
- law pkcs7_pad_15
- law pkcs7_unpad_15
- law pkcs7_unpad_zeroa last byte of 0, or one the bytes before it contradict, is bad padding
- law pkcs7_unpad_mixed
- law xts_shorta data unit shorter than a block is refused
- law xts_sectorthe sequence number of sector n: n little-endian, zero-filled to 16 bytes
- law ccm_bad_tag_lengtha tag of odd length, and a nonce of 6 bytes, are refused
- law ccm_bad_nonce_length
- law cmac_rfc4493_k1RFC 4493 section 4: the AES-CMAC subkey K1