Home
last modified time | relevance | path

Searched refs:MBEDTLS_ENCRYPT (Results 1 – 21 of 21) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_cipher.aes.data1527 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 …]
Dtest_suite_cipher.des.data567 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…
Dtest_suite_cipher.aria.data319 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…
Dtest_suite_cipher.function189 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 ) )
Dtest_suite_cipher.camellia.data1083 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…
Dtest_suite_ssl.function1254 keylen << 3, MBEDTLS_ENCRYPT ) == 0 );
1258 keylen << 3, MBEDTLS_ENCRYPT ) == 0 );
/third_party/mbedtls/library/
Dcipher.c260 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()
Dcmac.c196 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_cipher_cmac_starts()
782 MBEDTLS_ENCRYPT ) ) != 0 ) in cmac_test_subkeys()
Dssl_ticket.c89 MBEDTLS_ENCRYPT ); in ssl_ticket_gen_key()
Dpsa_crypto_cipher.c216 alg, MBEDTLS_ENCRYPT ) ); in mbedtls_psa_cipher_encrypt_setup()
Dnist_kw.c105 is_wrap ? MBEDTLS_ENCRYPT : in mbedtls_nist_kw_setkey()
Dccm.c81 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_ccm_setkey()
Dssl_tls13_keys.c881 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_ssl_tls13_populate_transform()
Dgcm.c164 MBEDTLS_ENCRYPT ) ) != 0 ) in mbedtls_gcm_setkey()
Dcipher_wrap.c175 case MBEDTLS_ENCRYPT: in aes_crypt_xts_wrap()
Dpsa_crypto.c3281 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()
Dssl_tls.c1062 MBEDTLS_ENCRYPT ) ) != 0 ) in ssl_tls12_populate_transform()
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c139 …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()
/third_party/mbedtls/include/mbedtls/
Dpsa_util.h116 case MBEDTLS_ENCRYPT: in mbedtls_psa_translate_cipher_operation()
Dcipher.h219 MBEDTLS_ENCRYPT, enumerator
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c352 MBEDTLS_ENCRYPT ) != 0 ) in main()