Searched refs:MBEDTLS_ENCRYPT (Results 1 – 21 of 21) sorted by relevance
1527 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"f34481e…1531 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"9798c46…1535 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"96ab5c2…1539 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"e0000000000000000000000000000000":"0000000…1543 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"f0000000000000000000000000000000":"0000000…1547 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"f8000000000000000000000000000000":"0000000…1551 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"fffffffffffff0000000000000000000":"0000000…1555 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"fffffffffffff8000000000000000000":"0000000…1559 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"fffffffffffffc000000000000000000":"0000000…1563 test_vec_ecb:MBEDTLS_CIPHER_AES_128_ECB:MBEDTLS_ENCRYPT:"ffffffffffffffffffffffffffffc000":"0000000…[all …]
567 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"0000000000000000":"0000000000000000":"8CA64DE9…571 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"FFFFFFFFFFFFFFFF":"FFFFFFFFFFFFFFFF":"7359B216…575 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"FEDCBA9876543210":"0123456789ABCDEF":"ED39D950…591 test_vec_ecb:MBEDTLS_CIPHER_DES_EDE_ECB:MBEDTLS_ENCRYPT:"0000000000000000FFFFFFFFFFFFFFFF":"0000000…595 test_vec_ecb:MBEDTLS_CIPHER_DES_EDE_ECB:MBEDTLS_ENCRYPT:"FFFFFFFFFFFFFFFF3000000000000000":"FFFFFFF…
319 test_vec_crypt:MBEDTLS_CIPHER_ARIA_128_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CACBCCC…327 test_vec_crypt:MBEDTLS_CIPHER_ARIA_192_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CACBCCC…335 test_vec_crypt:MBEDTLS_CIPHER_ARIA_256_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CACBCCC…
189 mbedtls_operation_t valid_operation = MBEDTLS_ENCRYPT;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 ) );677 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx_enc, key, key_len, MBEDTLS_ENCRYPT ) );942 MBEDTLS_ENCRYPT ) )
1083 test_vec_crypt:MBEDTLS_CIPHER_CAMELLIA_128_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CAC…1091 test_vec_crypt:MBEDTLS_CIPHER_CAMELLIA_192_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CAC…1099 test_vec_crypt:MBEDTLS_CIPHER_CAMELLIA_256_CCM_STAR_NO_TAG:MBEDTLS_ENCRYPT:"C0C1C2C3C4C5C6C7C8C9CAC…
1254 keylen << 3, MBEDTLS_ENCRYPT ) == 0 );1258 keylen << 3, MBEDTLS_ENCRYPT ) == 0 );
260 CIPHER_VALIDATE_RET( operation == MBEDTLS_ENCRYPT || in mbedtls_cipher_setkey()335 if( MBEDTLS_ENCRYPT == operation || in mbedtls_cipher_setkey()421 else if( ctx->operation == MBEDTLS_ENCRYPT ) in mbedtls_cipher_set_iv()494 mode = ( ctx->operation == MBEDTLS_ENCRYPT ) in mbedtls_cipher_update_ad()604 ( ctx->operation == MBEDTLS_ENCRYPT && in mbedtls_cipher_update()990 if( MBEDTLS_ENCRYPT == ctx->operation ) in mbedtls_cipher_finish()1112 if( MBEDTLS_ENCRYPT != ctx->operation ) in mbedtls_cipher_write_tag()1278 else if( ctx->operation == MBEDTLS_ENCRYPT ) in mbedtls_cipher_crypt()
196 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_cipher_cmac_starts()782 MBEDTLS_ENCRYPT ) ) != 0 ) in cmac_test_subkeys()
89 MBEDTLS_ENCRYPT ); in ssl_ticket_gen_key()
216 alg, MBEDTLS_ENCRYPT ) ); in mbedtls_psa_cipher_encrypt_setup()
105 is_wrap ? MBEDTLS_ENCRYPT : in mbedtls_nist_kw_setkey()
81 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_ccm_setkey()
881 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_ssl_tls13_populate_transform()
164 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_gcm_setkey()
175 case MBEDTLS_ENCRYPT: in aes_crypt_xts_wrap()
3281 psa_key_usage_t usage = ( cipher_operation == MBEDTLS_ENCRYPT ? in psa_cipher_setup()3317 if( cipher_operation == MBEDTLS_ENCRYPT ) in psa_cipher_setup()3343 return( psa_cipher_setup( operation, key, alg, MBEDTLS_ENCRYPT ) ); in psa_cipher_encrypt_setup()
1062 MBEDTLS_ENCRYPT ) ) != 0 ) in ssl_tls12_populate_transform()
139 …ipher_setkey(&ctx, key, 8 * 8, (mode == SNMP_V3_PRIV_MODE_ENCRYPT) ? MBEDTLS_ENCRYPT : MBEDTLS_DEC… in snmpv3_crypt()186 …pher_setkey(&ctx, key, 16 * 8, (mode == SNMP_V3_PRIV_MODE_ENCRYPT) ? MBEDTLS_ENCRYPT : MBEDTLS_DEC… in snmpv3_crypt()
116 case MBEDTLS_ENCRYPT: in mbedtls_psa_translate_cipher_operation()
219 MBEDTLS_ENCRYPT, enumerator
352 MBEDTLS_ENCRYPT ) != 0 ) in main()