Lines Matching refs:ciphertext

388 status_t AES_EncryptEcb(AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size)  in AES_EncryptEcb()  argument
413 aes_one_block(base, ciphertext, plaintext); in AES_EncryptEcb()
414 ciphertext += 16; in AES_EncryptEcb()
433 status_t AES_DecryptEcb(AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size) in AES_DecryptEcb() argument
458 aes_one_block(base, plaintext, ciphertext); in AES_DecryptEcb()
459 ciphertext += 16; in AES_DecryptEcb()
576 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I… in AES_EncryptCbc() argument
578 return aes_block_mode(base, plaintext, ciphertext, size, iv, kAES_CfgEncryptCbc); in AES_EncryptCbc()
592 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I… in AES_DecryptCbc() argument
594 return aes_block_mode(base, ciphertext, plaintext, size, iv, kAES_CfgDecryptCbc); in AES_DecryptCbc()
608 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I… in AES_EncryptCfb() argument
610 return aes_block_mode(base, plaintext, ciphertext, size, iv, kAES_CfgEncryptCfb); in AES_EncryptCfb()
624 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I… in AES_DecryptCfb() argument
626 return aes_block_mode(base, ciphertext, plaintext, size, iv, kAES_CfgDecryptCfb); in AES_DecryptCfb()
640 …AES_Type *base, const uint8_t *plaintext, uint8_t *ciphertext, size_t size, const uint8_t iv[AES_I… in AES_EncryptOfb() argument
642 return aes_block_mode(base, plaintext, ciphertext, size, iv, kAES_CfgCryptOfb); in AES_EncryptOfb()
656 …AES_Type *base, const uint8_t *ciphertext, uint8_t *plaintext, size_t size, const uint8_t iv[AES_I… in AES_DecryptOfb() argument
658 return aes_block_mode(base, ciphertext, plaintext, size, iv, kAES_CfgCryptOfb); in AES_DecryptOfb()
1225 uint8_t *ciphertext, in AES_EncryptTagGcm() argument
1236 …ocess(base, kAES_ModeEncrypt, plaintext, size, iv, ivSize, aad, aadSize, ciphertext, tag, tagSize); in AES_EncryptTagGcm()
1259 const uint8_t *ciphertext, in AES_DecryptTagGcm() argument
1280 …status = aes_gcm_process(base, kAES_ModeDecrypt, ciphertext, size, iv, ivSize, aad, aadSize, plain… in AES_DecryptTagGcm()