Searched refs:key_bitlen (Results 1 – 10 of 10) sorted by relevance
/third_party/mbedtls/library/ |
D | cipher_wrap.c | 191 unsigned int key_bitlen ) in aes_setkey_dec_wrap() argument 193 return mbedtls_aes_setkey_dec( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_dec_wrap() 197 unsigned int key_bitlen ) in aes_setkey_enc_wrap() argument 199 return mbedtls_aes_setkey_enc( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_enc_wrap() 422 unsigned int key_bitlen ) in xts_aes_setkey_enc_wrap() argument 425 return( mbedtls_aes_xts_setkey_enc( xts_ctx, key, key_bitlen ) ); in xts_aes_setkey_enc_wrap() 429 unsigned int key_bitlen ) in xts_aes_setkey_dec_wrap() argument 432 return( mbedtls_aes_xts_setkey_dec( xts_ctx, key, key_bitlen ) ); in xts_aes_setkey_dec_wrap() 508 unsigned int key_bitlen ) in gcm_aes_setkey_wrap() argument 511 key, key_bitlen ); in gcm_aes_setkey_wrap() [all …]
|
D | cipher.c | 130 int key_bitlen, in mbedtls_cipher_info_from_values() argument 137 def->info->key_bitlen == (unsigned) key_bitlen && in mbedtls_cipher_info_from_values() 255 int key_bitlen, in mbedtls_cipher_setkey() argument 271 size_t const key_bytelen = ( (size_t) key_bitlen + 7 ) / 8; in mbedtls_cipher_setkey() 278 if( key_bitlen % 8 != 0 ) in mbedtls_cipher_setkey() 317 ctx->key_bitlen = key_bitlen; in mbedtls_cipher_setkey() 324 (int) ctx->cipher_info->key_bitlen != key_bitlen ) in mbedtls_cipher_setkey() 329 ctx->key_bitlen = key_bitlen; in mbedtls_cipher_setkey() 341 ctx->key_bitlen ) ); in mbedtls_cipher_setkey() 346 ctx->key_bitlen ) ); in mbedtls_cipher_setkey()
|
D | cipher_wrap.h | 95 unsigned int key_bitlen ); 99 unsigned int key_bitlen);
|
D | ssl_tls13_keys.c | 880 key_enc, cipher_info->key_bitlen, in mbedtls_ssl_tls13_populate_transform() 888 key_dec, cipher_info->key_bitlen, in mbedtls_ssl_tls13_populate_transform() 968 key_len = cipher_info->key_bitlen >> 3; in mbedtls_ssl_tls13_generate_handshake_keys() 1158 key_len = cipher_info->key_bitlen / 8; in mbedtls_ssl_tls13_generate_application_keys()
|
D | pkcs5.c | 177 keylen = cipher_info->key_bitlen / 8; in mbedtls_pkcs5_pbes2()
|
D | pkcs12.c | 144 keylen = cipher_info->key_bitlen / 8; in mbedtls_pkcs12_pbe()
|
/third_party/mbedtls/include/mbedtls/ |
D | cipher.h | 293 unsigned int MBEDTLS_PRIVATE(key_bitlen); 327 int MBEDTLS_PRIVATE(key_bitlen); 431 int key_bitlen, 487 return( info->MBEDTLS_PRIVATE(key_bitlen) ); in mbedtls_cipher_info_get_key_bitlen() 776 return (int) ctx->MBEDTLS_PRIVATE(cipher_info)->MBEDTLS_PRIVATE(key_bitlen); in mbedtls_cipher_get_key_bitlen() 816 int key_bitlen,
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_cipher.function | 21 size_t key_bitlen, block_size, iv_size; 35 key_bitlen = mbedtls_cipher_info_get_key_bitlen( info ); 40 TEST_ASSERT( key_bitlen == 0 ); 46 TEST_ASSERT( key_bitlen == 256 || 47 key_bitlen == 384 || 48 key_bitlen == 512 ); 52 TEST_ASSERT( key_bitlen == 192 ); 58 TEST_ASSERT( key_bitlen == 128 ); 64 TEST_ASSERT( key_bitlen == 64 ); 70 TEST_ASSERT( key_bitlen == 128 || [all …]
|
D | test_suite_ssl.function | 1221 CHK( cipher_info->key_bitlen % 8 == 0 ); 1224 keylen = cipher_info->key_bitlen / 8;
|
/third_party/mbedtls/ |
D | ChangeLog | 3112 mbedtls_cipher_info_t.key_length -> key_bitlen 3113 mbedtls_cipher_context_t.key_length -> key_bitlen
|