Searched refs:mbedtls_cipher_setkey (Results 1 – 16 of 16) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_cipher.function | 110 * mbedtls_cipher_setkey() twice is allowed or not. This currently works with 139 TEST_ASSERT( 0 == mbedtls_cipher_setkey( ctx, key->x, 8 * key->len, 235 /* mbedtls_cipher_setkey() */ 237 mbedtls_cipher_setkey( &invalid_ctx, 321 mbedtls_cipher_setkey( &valid_ctx, 416 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx_dec, key, key_len, MBEDTLS_DECRYPT ) ); 417 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx_enc, key, key_len, MBEDTLS_ENCRYPT ) ); 543 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx, key, key_len, MBEDTLS_ENCRYPT ) ); 596 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx_dec, 676 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx_dec, key, key_len, MBEDTLS_DECRYPT ) ); [all …]
|
D | test_suite_ssl.function | 1253 CHK( mbedtls_cipher_setkey( &t_in->cipher_ctx_enc, key0, 1255 CHK( mbedtls_cipher_setkey( &t_in->cipher_ctx_dec, key1, 1257 CHK( mbedtls_cipher_setkey( &t_out->cipher_ctx_enc, key1, 1259 CHK( mbedtls_cipher_setkey( &t_out->cipher_ctx_dec, key0,
|
/third_party/lwip/src/apps/snmp/ |
D | snmpv3_mbedtls.c | 139 …if (mbedtls_cipher_setkey(&ctx, key, 8 * 8, (mode == SNMP_V3_PRIV_MODE_ENCRYPT) ? MBEDTLS_ENCRYPT … in snmpv3_crypt() 186 …if (mbedtls_cipher_setkey(&ctx, key, 16 * 8, (mode == SNMP_V3_PRIV_MODE_ENCRYPT) ? MBEDTLS_ENCRYPT… in snmpv3_crypt()
|
/third_party/mbedtls/programs/aes/ |
D | crypt_and_hash.c | 349 if( mbedtls_cipher_setkey( &cipher_ctx, in main() 522 if( mbedtls_cipher_setkey( &cipher_ctx, in main()
|
/third_party/mbedtls/library/ |
D | psa_crypto_cipher.c | 165 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, in psa_cipher_setup() 172 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, key_buffer, in psa_cipher_setup()
|
D | cmac.c | 195 if( ( retval = mbedtls_cipher_setkey( ctx, key, (int)keybits, in mbedtls_cipher_cmac_starts() 781 if( ( ret = mbedtls_cipher_setkey( &ctx, key, keybits, in cmac_test_subkeys()
|
D | pkcs5.c | 202 if( ( ret = mbedtls_cipher_setkey( &cipher_ctx, key, 8 * keylen, in mbedtls_pkcs5_pbes2()
|
D | ssl_ticket.c | 87 ret = mbedtls_cipher_setkey( &key->ctx, buf, in ssl_ticket_gen_key()
|
D | pkcs12.c | 158 …if( ( ret = mbedtls_cipher_setkey( &cipher_ctx, key, 8 * keylen, (mbedtls_operation_t) mode ) ) !=… in mbedtls_pkcs12_pbe()
|
D | ssl_tls13_keys.c | 879 if( ( ret = mbedtls_cipher_setkey( &transform->cipher_ctx_enc, in mbedtls_ssl_tls13_populate_transform() 887 if( ( ret = mbedtls_cipher_setkey( &transform->cipher_ctx_dec, in mbedtls_ssl_tls13_populate_transform()
|
D | nist_kw.c | 104 if( ( ret = mbedtls_cipher_setkey( &ctx->cipher_ctx, key, keybits, in mbedtls_nist_kw_setkey()
|
D | ccm.c | 80 if( ( ret = mbedtls_cipher_setkey( &ctx->cipher_ctx, key, keybits, in mbedtls_ccm_setkey()
|
D | gcm.c | 163 if( ( ret = mbedtls_cipher_setkey( &ctx->cipher_ctx, key, keybits, in mbedtls_gcm_setkey()
|
D | cipher.c | 253 int mbedtls_cipher_setkey( mbedtls_cipher_context_t *ctx, in mbedtls_cipher_setkey() function
|
D | ssl_tls.c | 1060 if( ( ret = mbedtls_cipher_setkey( &transform->cipher_ctx_enc, key1, in ssl_tls12_populate_transform() 1068 if( ( ret = mbedtls_cipher_setkey( &transform->cipher_ctx_dec, key2, in ssl_tls12_populate_transform()
|
/third_party/mbedtls/include/mbedtls/ |
D | cipher.h | 814 int mbedtls_cipher_setkey( mbedtls_cipher_context_t *ctx,
|