Home
last modified time | relevance | path

Searched refs:alg_iv (Results 1 - 4 of 4) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_linux.c685 struct af_alg_iv *alg_iv; in aes_128_cbc_oper() local
698 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper()
712 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper()
713 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in aes_128_cbc_oper()
714 alg_iv->ivlen = iv_len; in aes_128_cbc_oper()
715 os_memcpy(alg_iv->iv, iv, iv_len); in aes_128_cbc_oper()
794 struct af_alg_iv *alg_iv; in aes_unwrap() local
807 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_unwrap()
821 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_unwrap()
822 alg_iv in aes_unwrap()
864 struct af_alg_iv *alg_iv; crypto_cipher_init() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_linux.c685 struct af_alg_iv *alg_iv; in aes_128_cbc_oper() local
698 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper()
712 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper()
713 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in aes_128_cbc_oper()
714 alg_iv->ivlen = iv_len; in aes_128_cbc_oper()
715 os_memcpy(alg_iv->iv, iv, iv_len); in aes_128_cbc_oper()
794 struct af_alg_iv *alg_iv; in aes_unwrap() local
807 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_unwrap()
821 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_unwrap()
822 alg_iv in aes_unwrap()
864 struct af_alg_iv *alg_iv; crypto_cipher_init() local
[all...]
/third_party/ltp/lib/
H A Dtst_af_alg.c205 struct af_alg_iv *alg_iv; in tst_alg_sendmsg() local
238 alg_iv = (struct af_alg_iv *)CMSG_DATA(cmsg); in tst_alg_sendmsg()
239 alg_iv->ivlen = params->ivlen; in tst_alg_sendmsg()
240 memcpy(alg_iv->iv, params->iv, params->ivlen); in tst_alg_sendmsg()
/third_party/python/Modules/
H A Dsocketmodule.c4699 struct af_alg_iv *alg_iv = NULL; local
4746 controllen += CMSG_SPACE(sizeof(*alg_iv) + iv.len);
4793 header->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv.len);
4794 alg_iv = (void*)CMSG_DATA(header);
4795 alg_iv->ivlen = iv.len;
4796 memcpy(alg_iv->iv, iv.buf, iv.len);

Completed in 12 milliseconds