/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | qat_crypt.c | 295 crypto_key_t *key, uint64_t crypt, uint32_t enc_len) in qat_crypt() argument 300 Cpa16U nr_bufs = (enc_len >> PAGE_SHIFT) + 2; in qat_crypt() 321 QAT_STAT_INCR(encrypt_total_in_bytes, enc_len); in qat_crypt() 324 QAT_STAT_INCR(decrypt_total_in_bytes, enc_len); in qat_crypt() 373 bytes_left = enc_len; in qat_crypt() 390 bytes_left = enc_len; in qat_crypt() 414 op_data.messageLenToCipherInBytes = enc_len; in qat_crypt() 439 QAT_STAT_INCR(encrypt_total_out_bytes, enc_len); in qat_crypt() 441 QAT_STAT_INCR(decrypt_total_out_bytes, enc_len); in qat_crypt()
|
H A D | zio_crypt.c | 496 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_wrap() local 536 enc_len = zio_crypt_table[crypt].ci_keylen + SHA512_HMAC_KEYLEN; in zio_crypt_key_wrap() 545 ret = zio_do_crypt_uio(B_TRUE, crypt, cwkey, NULL, iv, enc_len, in zio_crypt_key_wrap() 565 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_unwrap() local 598 enc_len = keydata_len + SHA512_HMAC_KEYLEN; in zio_crypt_key_unwrap() 607 ret = zio_do_crypt_uio(B_FALSE, crypt, cwkey, NULL, iv, enc_len, in zio_crypt_key_unwrap() 1404 zfs_uio_t *cuio, uint_t *enc_len, uint8_t **authbuf, uint_t *auth_len, in zio_crypt_init_uios_zil() argument 1574 *enc_len = total_len; in zio_crypt_init_uios_zil() 1599 *enc_len = 0; in zio_crypt_init_uios_zil() 1616 zfs_uio_t *puio, zfs_uio_t *cuio, uint_t *enc_len, uint8_t **authbuf, in zio_crypt_init_uios_dnode() argument [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 435 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_wrap() local 480 enc_len = zio_crypt_table[crypt].ci_keylen + SHA512_HMAC_KEYLEN; in zio_crypt_key_wrap() 488 iv, enc_len, &cuio, aad_len); in zio_crypt_key_wrap() 514 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_unwrap() local 555 enc_len = keydata_len + SHA512_HMAC_KEYLEN; in zio_crypt_key_unwrap() 565 iv, enc_len, &cuio, aad_len); in zio_crypt_key_unwrap() 1245 zfs_uio_t *out_uio, uint_t *enc_len, uint8_t **authbuf, uint_t *auth_len, in zio_crypt_init_uios_zil() argument 1400 *enc_len = total_len; in zio_crypt_init_uios_zil() 1415 zfs_uio_t *puio, zfs_uio_t *out_uio, uint_t *enc_len, uint8_t **authbuf, in zio_crypt_init_uios_dnode() argument 1550 *enc_len = total_len; in zio_crypt_init_uios_dnode() [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | punycode.c | 118 int ossl_punycode_decode(const char *pEncoded, const size_t enc_len, in ossl_punycode_decode() argument 129 for (loop = 0; loop < enc_len; loop++) { in ossl_punycode_decode() 148 for (loop = processed_in; loop < enc_len;) { in ossl_punycode_decode() 155 if (loop >= enc_len) in ossl_punycode_decode()
|
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pem_info.c | 138 xi->enc_len = 0; in STACK_OF() 176 xi->enc_len = (int)len; in STACK_OF() 254 if ((xi->enc_data != NULL) && (xi->enc_len > 0)) { in PEM_X509_INFO_write_bio() 263 i = xi->enc_len; in PEM_X509_INFO_write_bio()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth_ft.c | 75 const u8 *enc, size_t enc_len, in wpa_ft_rrb_decrypt() argument 86 wpa_hexdump(MSG_DEBUG, "FT(RRB): encrypted TLVs", enc, enc_len); in wpa_ft_rrb_decrypt() 90 *plain = os_memdup(enc, enc_len); in wpa_ft_rrb_decrypt() 91 if (enc_len > 0 && !*plain) in wpa_ft_rrb_decrypt() 94 *plain_size = enc_len; in wpa_ft_rrb_decrypt() 102 if (enc_len < AES_BLOCK_SIZE) in wpa_ft_rrb_decrypt() 105 *plain = os_zalloc(enc_len - AES_BLOCK_SIZE); in wpa_ft_rrb_decrypt() 109 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt() 111 if (enc_len < AES_BLOCK_SIZE + 2) in wpa_ft_rrb_decrypt() 117 enc_len -= 2; in wpa_ft_rrb_decrypt() [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec2_oct.c | 263 size_t field_len, enc_len; in ossl_ec_GF2m_simple_oct2point() local 311 enc_len = in ossl_ec_GF2m_simple_oct2point() 315 if (len != enc_len) { in ossl_ec_GF2m_simple_oct2point()
|
H A D | ecp_oct.c | 282 size_t field_len, enc_len; in ossl_ec_GFp_simple_oct2point() local 313 enc_len = in ossl_ec_GFp_simple_oct2point() 317 if (len != enc_len) { in ossl_ec_GFp_simple_oct2point()
|
/freebsd/crypto/openssl/include/crypto/ |
H A D | punycode.h | 16 const size_t enc_len,
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | qat.h | 183 crypto_key_t *key, uint64_t crypt, uint32_t enc_len);
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 4960 const u8 *enc, size_t enc_len, in hpke_extract_and_expand() argument 4972 if (enc_len > HPKE_MAX_PUB_LEN || pk_rm_len > HPKE_MAX_PUB_LEN) in hpke_extract_and_expand() 4975 os_memcpy(kem_context, enc, enc_len); in hpke_extract_and_expand() 4976 os_memcpy(&kem_context[enc_len], pk_rm, pk_rm_len); in hpke_extract_and_expand() 4981 kem_context, enc_len + pk_rm_len, in hpke_extract_and_expand() 5424 size_t enc_len, ct_len; in hpke_base_seal() local 5440 enc_len = OSSL_HPKE_get_public_encap_size(suite); in hpke_base_seal() 5442 buf = wpabuf_alloc(enc_len + ct_len); in hpke_base_seal() 5455 if (OSSL_HPKE_encap(ctx, wpabuf_put(buf, 0), &enc_len, in hpke_base_seal() 5462 wpabuf_put(buf, enc_len); in hpke_base_seal() [all …]
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_punycode_decode.pod | 12 int ossl_punycode_decode(const char *pEncoded, const size_t enc_len,
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | x509.h | 384 int enc_len; member
|
H A D | x509.h.in | 214 int enc_len; member
|