| /src/crypto/external/apache2/openssl/dist/providers/implementations/rands/ |
| test_rng.c | 49 size_t entropy_len, entropy_pos, nonce_len; member in struct:__anon580 177 i = t->nonce_len > max_noncelen ? max_noncelen : t->nonce_len; 257 t->nonce_len = size;
|
| /src/crypto/external/apache2/openssl/dist/ssl/record/methods/ |
| tls13_meth.c | 94 size_t nonce_len, offset, loop, hdrlen, taglen; local 132 /* For integrity-only ciphers, nonce_len is same as MAC size */ 134 nonce_len = EVP_MAC_CTX_get_mac_size(rl->mac_ctx); 143 nonce_len = (size_t)ivlen; 157 if (nonce_len < SEQ_NUM_SIZE) { 162 offset = nonce_len - SEQ_NUM_SIZE; 189 || !EVP_MAC_update(mac_ctx, nonce, nonce_len)
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/rands/ |
| test_rng.c | 46 size_t entropy_len, entropy_pos, nonce_len; member in struct:__anon1621 136 memcpy(out, t->nonce, t->nonce_len); 137 return t->nonce_len; 202 t->nonce_len = size;
|
| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| e_chacha20_poly1305.c | 162 int aad, mac_inited, tag_len, nonce_len; member in struct:__anon286 189 if (actx->nonce_len <= CHACHA_CTR_SIZE) 190 memcpy(temp + CHACHA_CTR_SIZE - actx->nonce_len, iv, 191 actx->nonce_len); 516 actx->nonce_len = 12; 534 *(int *)ptr = actx->nonce_len; 540 actx->nonce_len = arg;
|
| /src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| e_chacha20_poly1305.c | 159 int aad, mac_inited, tag_len, nonce_len; member in struct:__anon1395 186 if (actx->nonce_len <= CHACHA_CTR_SIZE) 187 memcpy(temp + CHACHA_CTR_SIZE - actx->nonce_len, iv, 188 actx->nonce_len); 515 actx->nonce_len = 12; 534 *(int *)ptr = actx->nonce_len; 540 actx->nonce_len = arg;
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| e_chacha20_poly1305.c | 157 int aad, mac_inited, tag_len, nonce_len; member in struct:__anon2037 184 if (actx->nonce_len <= CHACHA_CTR_SIZE) 185 memcpy(temp + CHACHA_CTR_SIZE - actx->nonce_len, iv, 186 actx->nonce_len); 519 actx->nonce_len = 12; 538 *(int *)ptr = actx->nonce_len; 544 actx->nonce_len = arg;
|
| /src/external/bsd/wpa/dist/src/eap_common/ |
| eap_eke_common.h | 74 int nonce_len; member in struct:eap_eke_session
|
| ikev2_common.h | 290 const u8 *nonce, size_t nonce_len, 309 size_t nonce_len; member in struct:ikev2_payloads
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| cmp_vfy_test.c | 475 int nonce_len = OSSL_CMP_SENDERNONCE_LENGTH; local 484 nonce_data, nonce_len))) {
|
| evp_test.c | 3521 size_t entropy_len, nonce_len, pers_len, addinA_len, addinB_len, member in struct:rand_data_pass_st 3629 return parse_bin(value, &item->nonce, &item->nonce_len); 3722 z, item->nonce_len);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| cmp_vfy_test.c | 460 int nonce_len = OSSL_CMP_SENDERNONCE_LENGTH; local 469 nonce_data, nonce_len))) {
|
| evp_test.c | 2438 size_t entropy_len, nonce_len, pers_len, addinA_len, addinB_len, member in struct:rand_data_pass_st 2543 return parse_bin(value, &item->nonce, &item->nonce_len); 2624 z, item->nonce_len);
|
| /src/external/bsd/wpa/dist/src/common/ |
| dpp_auth.c | 61 size_t nonce_len, 152 WPA_PUT_LE16(pos, nonce_len - 1); 154 os_memcpy(pos, auth->i_nonce, nonce_len - 1); 155 pos += nonce_len - 1; 163 WPA_PUT_LE16(pos, nonce_len); 165 os_memcpy(pos, auth->i_nonce, nonce_len); 166 pos += nonce_len; 236 size_t nonce_len, 315 WPA_PUT_LE16(pos, nonce_len); 317 os_memcpy(pos, r_nonce, nonce_len); 420 size_t nonce_len; local 1170 size_t nonce_len; local [all...] |
| dpp_crypto.c | 447 size_t nonce_len = auth->curve->nonce_len; local 462 os_memcpy(nonces, auth->i_nonce, nonce_len); 463 os_memcpy(&nonces[nonce_len], auth->r_nonce, nonce_len); 480 res = dpp_hmac_vector(hash_len, nonces, 2 * nonce_len, 892 size_t nonce_len; local 897 nonce_len = auth->curve->nonce_len; 924 len[num_elem] = nonce_len; 975 size_t nonce_len; local [all...] |
| dpp.c | 786 size_t nonce_len; local 797 nonce_len = auth->curve->nonce_len; 798 if (random_get_bytes(auth->e_nonce, nonce_len)) { 802 wpa_hexdump(MSG_DEBUG, "DPP: E-nonce", auth->e_nonce, nonce_len); 807 clear_len = 4 + nonce_len + 4 + json_len; 838 wpabuf_put_le16(clear, nonce_len - 1); 839 wpabuf_put_data(clear, auth->e_nonce, nonce_len - 1); 850 wpabuf_put_le16(clear, nonce_len); 851 wpabuf_put_data(clear, auth->e_nonce, nonce_len); 3598 size_t nonce_len, clear_len, attr_len; local 3816 size_t nonce_len, clear_len, attr_len; local [all...] |
| dpp.h | 141 size_t nonce_len; member in struct:dpp_curve_params
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_record_rx.c | 895 int l = 0, l2 = 0, is_old_key, nonce_len; local 940 nonce_len = EVP_CIPHER_CTX_get_iv_length(cctx); 941 if (!ossl_assert(nonce_len >= (int)sizeof(QUIC_PN))) 944 memcpy(nonce, el->iv[cctx_idx], nonce_len); 946 nonce[nonce_len - i - 1] ^= (unsigned char)(pn >> (i * 8));
|
| quic_record_tx.c | 493 int l = 0, l2 = 0, nonce_len; local 527 nonce_len = EVP_CIPHER_CTX_get_iv_length(cctx); 528 if (!ossl_assert(nonce_len >= (int)sizeof(QUIC_PN))) { 533 memcpy(nonce, el->iv[0], (size_t)nonce_len); 535 nonce[nonce_len - i - 1] ^= (unsigned char)(pn >> (i * 8));
|