Searched refs:CRYPTO_BYTES2BITS (Results 1 – 8 of 8) sorted by relevance
33 key.ck_length = CRYPTO_BYTES2BITS(salt_len); in hkdf_sha512_extract()56 key.ck_length = CRYPTO_BYTES2BITS(SHA512_DIGEST_LENGTH); in hkdf_sha512_expand()
275 key->zk_current_key.ck_length = CRYPTO_BYTES2BITS(keydata_len); in zio_crypt_key_init()278 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()585 key->zk_current_key.ck_length = CRYPTO_BYTES2BITS(keydata_len); in zio_crypt_key_unwrap()588 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()1736 tmp_ckey.ck_length = CRYPTO_BYTES2BITS(keydata_len); in zio_do_crypt_data()
40 key.ck_length = CRYPTO_BYTES2BITS(salt_len); in hkdf_sha512_extract()86 key.ck_length = CRYPTO_BYTES2BITS(SHA512_DIGEST_LENGTH); in hkdf_sha512_expand()
123 wkey->wk_key.ck_length = CRYPTO_BYTES2BITS(WRAPPING_KEY_LEN); in dsl_wrapping_key_create()
47 #define CRYPTO_BYTES2BITS(n) ((n) << 3) macro
121 #define CRYPTO_BYTES2BITS(n) ((n) << 3) macro
264 htonll(CRYPTO_BYTES2BITS(ctx->gcm_processed_data_len)); in gcm_encrypt_final()435 ctx->gcm_len_a_len_c[1] = htonll(CRYPTO_BYTES2BITS(pt_len)); in gcm_decrypt_final()523 len_a_len_c[1] = htonll(CRYPTO_BYTES2BITS(iv_len)); in gcm_format_initial_blocks()620 = htonll(CRYPTO_BYTES2BITS(gcm_param->ulAADLen)); in gcm_init_ctx()1274 htonll(CRYPTO_BYTES2BITS(ctx->gcm_processed_data_len)); in gcm_encrypt_final_avx()1385 ctx->gcm_len_a_len_c[1] = htonll(CRYPTO_BYTES2BITS(pt_len)); in gcm_decrypt_final_avx()
280 key->zk_current_key.ck_length = CRYPTO_BYTES2BITS(keydata_len); in zio_crypt_key_init()283 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_init()445 gcmp.ulIvBits = CRYPTO_BYTES2BITS(ZIO_DATA_IV_LEN); in zio_do_crypt_uio()448 gcmp.ulTagBits = CRYPTO_BYTES2BITS(maclen); in zio_do_crypt_uio()627 key->zk_current_key.ck_length = CRYPTO_BYTES2BITS(keydata_len); in zio_crypt_key_unwrap()630 key->zk_hmac_key.ck_length = CRYPTO_BYTES2BITS(SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap()1953 tmp_ckey.ck_length = CRYPTO_BYTES2BITS(keydata_len); in zio_do_crypt_data()