/third_party/node/deps/openssl/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 28 int max_out_len, mac_len = 0; in PKCS12_pbe_crypt_ex() local 49 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_TLS1_AAD, 0, &mac_len) < 0) { in PKCS12_pbe_crypt_ex() 55 max_out_len += mac_len; in PKCS12_pbe_crypt_ex() 57 if (inlen < mac_len) { in PKCS12_pbe_crypt_ex() 61 inlen -= mac_len; in PKCS12_pbe_crypt_ex() 63 (int)mac_len, (unsigned char *)in+inlen) < 0) { in PKCS12_pbe_crypt_ex() 96 (int)mac_len, out+outlen) < 0) { in PKCS12_pbe_crypt_ex() 102 outlen += mac_len; in PKCS12_pbe_crypt_ex()
|
/third_party/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 28 int max_out_len, mac_len = 0; in PKCS12_pbe_crypt_ex() local 49 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_TLS1_AAD, 0, &mac_len) < 0) { in PKCS12_pbe_crypt_ex() 55 max_out_len += mac_len; in PKCS12_pbe_crypt_ex() 57 if (inlen < mac_len) { in PKCS12_pbe_crypt_ex() 61 inlen -= mac_len; in PKCS12_pbe_crypt_ex() 63 (int)mac_len, (unsigned char *)in+inlen) < 0) { in PKCS12_pbe_crypt_ex() 96 (int)mac_len, out+outlen) < 0) { in PKCS12_pbe_crypt_ex() 102 outlen += mac_len; in PKCS12_pbe_crypt_ex()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_linux.c | 60 u8 *mac, size_t mac_len) in linux_af_alg_hash_vector() 102 res = recv(t, mac, mac_len, 0); in linux_af_alg_hash_vector() 109 if ((size_t) res < mac_len) { in linux_af_alg_hash_vector() 112 __func__, (int) res, (int) mac_len); in linux_af_alg_hash_vector() 234 size_t mac_len; member 252 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init() 256 ctx->mac_len = SHA1_MAC_LEN; in crypto_hash_init() 260 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init() 264 ctx->mac_len = SHA1_MAC_LEN; in crypto_hash_init() 268 ctx->mac_len in crypto_hash_init() 57 linux_af_alg_hash_vector(const char *alg, const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac, size_t mac_len) linux_af_alg_hash_vector() argument [all...] |
H A D | crypto_openssl.c | 152 unsigned int mac_len; in openssl_digest_vector() local 175 if (!EVP_DigestFinal(ctx, mac, &mac_len)) { in openssl_digest_vector()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_linux.c | 60 u8 *mac, size_t mac_len) in linux_af_alg_hash_vector() 102 res = recv(t, mac, mac_len, 0); in linux_af_alg_hash_vector() 109 if ((size_t) res < mac_len) { in linux_af_alg_hash_vector() 112 __func__, (int) res, (int) mac_len); in linux_af_alg_hash_vector() 234 size_t mac_len; member 252 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init() 256 ctx->mac_len = SHA1_MAC_LEN; in crypto_hash_init() 260 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init() 264 ctx->mac_len = SHA1_MAC_LEN; in crypto_hash_init() 268 ctx->mac_len in crypto_hash_init() 57 linux_af_alg_hash_vector(const char *alg, const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac, size_t mac_len) linux_af_alg_hash_vector() argument [all...] |
H A D | crypto_openssl.c | 211 unsigned int mac_len; in openssl_digest_vector() local 234 if (!EVP_DigestFinal(ctx, mac, &mac_len)) { in openssl_digest_vector()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_eke_common.c | 93 int mac_len; in eap_eke_pnonce_len() local 96 mac_len = SHA1_MAC_LEN; in eap_eke_pnonce_len() 98 mac_len = SHA256_MAC_LEN; in eap_eke_pnonce_len() 102 return AES_BLOCK_SIZE + 16 + mac_len; in eap_eke_pnonce_len() 108 int mac_len; in eap_eke_pnonce_ps_len() local 111 mac_len = SHA1_MAC_LEN; in eap_eke_pnonce_ps_len() 113 mac_len = SHA256_MAC_LEN; in eap_eke_pnonce_ps_len() 117 return AES_BLOCK_SIZE + 2 * 16 + mac_len; in eap_eke_pnonce_ps_len()
|
H A D | eap_teap_common.c | 310 u8 *mac, size_t mac_len) in eap_teap_tls_mac() 316 os_memset(mac, 0, mac_len); in eap_teap_tls_mac() 340 if (mac_len > sizeof(tmp)) in eap_teap_tls_mac() 341 mac_len = sizeof(tmp); in eap_teap_tls_mac() 342 os_memcpy(mac, tmp, mac_len); in eap_teap_tls_mac() 308 eap_teap_tls_mac(u16 tls_cs, const u8 *cmk, size_t cmk_len, const u8 *buffer, size_t buffer_len, u8 *mac, size_t mac_len) eap_teap_tls_mac() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_eke_common.c | 93 int mac_len; in eap_eke_pnonce_len() local 96 mac_len = SHA1_MAC_LEN; in eap_eke_pnonce_len() 98 mac_len = SHA256_MAC_LEN; in eap_eke_pnonce_len() 102 return AES_BLOCK_SIZE + 16 + mac_len; in eap_eke_pnonce_len() 108 int mac_len; in eap_eke_pnonce_ps_len() local 111 mac_len = SHA1_MAC_LEN; in eap_eke_pnonce_ps_len() 113 mac_len = SHA256_MAC_LEN; in eap_eke_pnonce_ps_len() 117 return AES_BLOCK_SIZE + 2 * 16 + mac_len; in eap_eke_pnonce_ps_len()
|
H A D | eap_teap_common.c | 319 u8 *mac, size_t mac_len) in eap_teap_tls_mac() 325 os_memset(mac, 0, mac_len); in eap_teap_tls_mac() 349 if (mac_len > sizeof(tmp)) in eap_teap_tls_mac() 350 mac_len = sizeof(tmp); in eap_teap_tls_mac() 351 os_memcpy(mac, tmp, mac_len); in eap_teap_tls_mac() 317 eap_teap_tls_mac(u16 tls_cs, const u8 *cmk, size_t cmk_len, const u8 *buffer, size_t buffer_len, u8 *mac, size_t mac_len) eap_teap_tls_mac() argument
|
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp_private.h | 192 char mac_len; /* length of mac address */ member
|