Home
last modified time | relevance | path

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

/third_party/openssl/engines/
De_afalg.c64 # define ALG_AES_IV_LEN 16 macro
474 char cbuf[CMSG_SPACE(ALG_IV_LEN(ALG_AES_IV_LEN)) + CMSG_SPACE(ALG_OP_LEN)]; in afalg_start_cipher_sk()
488 afalg_set_iv_sk(cmsg, iv, ALG_AES_IV_LEN); in afalg_start_cipher_sk()
589 if (ALG_AES_IV_LEN != EVP_CIPHER_CTX_get_iv_length(ctx)) { in afalg_cipher_init()
629 char nxtiv[ALG_AES_IV_LEN] = { 0 }; in afalg_do_cipher()
649 memcpy(nxtiv, in + (inl - ALG_AES_IV_LEN), ALG_AES_IV_LEN); in afalg_do_cipher()
666 memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), out + (inl - ALG_AES_IV_LEN), in afalg_do_cipher()
667 ALG_AES_IV_LEN); in afalg_do_cipher()
669 memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), nxtiv, ALG_AES_IV_LEN); in afalg_do_cipher()