Home
last modified time | relevance | path

Searched refs:ALG_AES_IV_LEN (Results 1 – 1 of 1) sorted by relevance

/openssl/engines/
H A De_afalg.c64 # define ALG_AES_IV_LEN 16 macro
496 char cbuf[CMSG_SPACE(ALG_IV_LEN(ALG_AES_IV_LEN)) + CMSG_SPACE(ALG_OP_LEN)]; in afalg_start_cipher_sk()
510 afalg_set_iv_sk(cmsg, iv, ALG_AES_IV_LEN); in afalg_start_cipher_sk()
611 if (ALG_AES_IV_LEN != EVP_CIPHER_CTX_get_iv_length(ctx)) { in afalg_cipher_init()
651 char nxtiv[ALG_AES_IV_LEN] = { 0 }; in afalg_do_cipher()
671 memcpy(nxtiv, in + (inl - ALG_AES_IV_LEN), ALG_AES_IV_LEN); in afalg_do_cipher()
688 memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), out + (inl - ALG_AES_IV_LEN), in afalg_do_cipher()
689 ALG_AES_IV_LEN); in afalg_do_cipher()
691 memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), nxtiv, ALG_AES_IV_LEN); in afalg_do_cipher()

Completed in 5 milliseconds