Searched refs:cipher_info (Results 1 – 3 of 3) sorted by relevance
903 const mbedtls_cipher_info_t *cipher_info; in omac1_aes_vector()904 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in omac1_aes_vector()905 if (cipher_info == NULL) in omac1_aes_vector()911 …if (mbedtls_cipher_setup(&ctx, cipher_info) == 0 && mbedtls_cipher_cmac_starts(&ctx, key, key_len … in omac1_aes_vector()1091 const mbedtls_cipher_info_t *cipher_info; in crypto_cipher_init() local1092 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in crypto_cipher_init()1093 if (cipher_info == NULL) in crypto_cipher_init()1104 if (mbedtls_cipher_setup(&ctx->ctx_enc, cipher_info) == 0 && in crypto_cipher_init()1105 mbedtls_cipher_setup(&ctx->ctx_dec, cipher_info) == 0 && in crypto_cipher_init()
2103 …const mbedtls_cipher_info_t *cipher_info = mbedtls_cipher_info_from_type(ciphersuite_info->MBEDTLS… in tls_mbedtls_ssl_keyblock_size() local2104 if (cipher_info == NULL) in tls_mbedtls_ssl_keyblock_size()2108 size_t keylen = mbedtls_cipher_info_get_key_bitlen(cipher_info) / 8; in tls_mbedtls_ssl_keyblock_size()2109 mbedtls_cipher_mode_t mode = mbedtls_cipher_info_get_mode(cipher_info); in tls_mbedtls_ssl_keyblock_size()2111 size_t keylen = cipher_info->MBEDTLS_PRIVATE(key_bitlen) / 8; in tls_mbedtls_ssl_keyblock_size()2112 mbedtls_cipher_mode_t mode = cipher_info->MBEDTLS_PRIVATE(mode); in tls_mbedtls_ssl_keyblock_size()2127 size_t ivlen = mbedtls_cipher_info_get_iv_size(cipher_info); in tls_mbedtls_ssl_keyblock_size()
4072 struct cipher_info { struct4078 static const struct cipher_info ciphers[] = { argument4093 static const struct cipher_info ciphers_group_mgmt[] = {