Searched refs:MBEDTLS_ENCRYPT (Results 1 – 22 of 22) sorted by relevance
/mbedtls/tests/suites/ |
A D | test_suite_cipher.aes.data | 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 …]
|
A D | test_suite_cipher.function | 171 mbedtls_operation_t valid_operation = MBEDTLS_ENCRYPT; 401 TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx_enc, key, key_len, MBEDTLS_ENCRYPT)); 533 TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx, key, key_len, MBEDTLS_ENCRYPT)); 692 TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx_enc, key, key_len, MBEDTLS_ENCRYPT)); 979 MBEDTLS_ENCRYPT)) { 1240 MBEDTLS_ENCRYPT));
|
A D | test_suite_cipher.des.data | 579 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"0000000000000000":"0000000000000000":"8CA64DE9… 583 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"FFFFFFFFFFFFFFFF":"FFFFFFFFFFFFFFFF":"7359B216… 587 test_vec_ecb:MBEDTLS_CIPHER_DES_ECB:MBEDTLS_ENCRYPT:"FEDCBA9876543210":"0123456789ABCDEF":"ED39D950… 603 test_vec_ecb:MBEDTLS_CIPHER_DES_EDE_ECB:MBEDTLS_ENCRYPT:"0000000000000000FFFFFFFFFFFFFFFF":"0000000… 607 test_vec_ecb:MBEDTLS_CIPHER_DES_EDE_ECB:MBEDTLS_ENCRYPT:"FFFFFFFFFFFFFFFF3000000000000000":"FFFFFFF…
|
A D | test_suite_cipher.aria.data | 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…
|
A D | test_suite_cipher.camellia.data | 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…
|
/mbedtls/library/ |
A D | cipher.c | 307 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey() 390 if (MBEDTLS_ENCRYPT == operation || in mbedtls_cipher_setkey() 403 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey() 491 } else if (ctx->operation == MBEDTLS_ENCRYPT) { in mbedtls_cipher_set_iv() 559 mode = (ctx->operation == MBEDTLS_ENCRYPT) in mbedtls_cipher_update_ad() 660 (ctx->operation == MBEDTLS_ENCRYPT && in mbedtls_cipher_update() 1066 if (MBEDTLS_ENCRYPT == ctx->operation) { in mbedtls_cipher_finish() 1186 if (MBEDTLS_ENCRYPT != ctx->operation) { in mbedtls_cipher_write_tag() 1332 } else if (ctx->operation == MBEDTLS_ENCRYPT) { in mbedtls_cipher_crypt()
|
A D | ssl_ticket.c | 106 MBEDTLS_ENCRYPT); in ssl_ticket_gen_key() 194 ret = mbedtls_cipher_setkey(&key->ctx, k, bitlen, MBEDTLS_ENCRYPT); in mbedtls_ssl_ticket_rotate()
|
A D | cmac.c | 168 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_cipher_cmac_starts() 766 MBEDTLS_ENCRYPT)) != 0) { in cmac_test_subkeys()
|
A D | nist_kw.c | 91 is_wrap ? MBEDTLS_ENCRYPT : in mbedtls_nist_kw_setkey()
|
A D | psa_crypto_cipher.c | 368 alg, MBEDTLS_ENCRYPT); in mbedtls_psa_cipher_encrypt_setup()
|
A D | ccm.c | 89 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_ccm_setkey()
|
A D | gcm.c | 203 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_gcm_setkey()
|
A D | cipher_wrap.c | 218 case MBEDTLS_ENCRYPT: in aes_crypt_xts_wrap()
|
A D | ssl_tls13_keys.c | 1011 MBEDTLS_ENCRYPT)) != 0) { in mbedtls_ssl_tls13_populate_transform()
|
A D | psa_crypto.c | 4258 psa_key_usage_t usage = (cipher_operation == MBEDTLS_ENCRYPT ? in psa_cipher_setup() 4291 if (cipher_operation == MBEDTLS_ENCRYPT) { in psa_cipher_setup() 4319 return psa_cipher_setup(operation, key, alg, MBEDTLS_ENCRYPT); in psa_cipher_encrypt_setup()
|
A D | ssl_tls.c | 9150 MBEDTLS_ENCRYPT)) != 0) { in ssl_tls12_populate_transform()
|
/mbedtls/include/mbedtls/ |
A D | pkcs12.h | 35 #define MBEDTLS_PKCS12_PBE_ENCRYPT MBEDTLS_ENCRYPT
|
A D | pkcs5.h | 35 #define MBEDTLS_PKCS5_ENCRYPT MBEDTLS_ENCRYPT
|
A D | cipher.h | 202 MBEDTLS_ENCRYPT, enumerator
|
/mbedtls/programs/cipher/ |
A D | cipher_aead_demo.c | 145 CHK(mbedtls_cipher_setkey(ctx, key_bytes, key_len, MBEDTLS_ENCRYPT)); in aead_prepare()
|
/mbedtls/programs/aes/ |
A D | crypt_and_hash.c | 309 MBEDTLS_ENCRYPT) != 0) { in main()
|
/mbedtls/tests/src/test_helpers/ |
A D | ssl_helpers.c | 1329 MBEDTLS_ENCRYPT) in mbedtls_test_ssl_build_transforms() 1337 MBEDTLS_ENCRYPT) in mbedtls_test_ssl_build_transforms()
|
Completed in 871 milliseconds