Home
last modified time | relevance | path

Searched defs:alg (Results 1 – 25 of 91) sorted by relevance

1234

/device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/include/psa/
Dcrypto_sizes.h65 #define PSA_HASH_LENGTH(alg) \ argument
97 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument
167 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument
266 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument
298 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument
351 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument
403 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument
455 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument
496 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument
530 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument
[all …]
Dcrypto_values.h738 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument
749 #define PSA_ALG_IS_HASH(alg) \ argument
760 #define PSA_ALG_IS_MAC(alg) \ argument
771 #define PSA_ALG_IS_CIPHER(alg) \ argument
783 #define PSA_ALG_IS_AEAD(alg) \ argument
795 #define PSA_ALG_IS_SIGN(alg) \ argument
807 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument
818 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument
829 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument
846 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument
[all …]
Dcrypto_extra.h404 #define PSA_ALG_IS_DSA(alg) \ argument
407 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \ argument
409 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \ argument
411 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \ argument
418 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \ argument
833 #define PSA_ALG_IS_PAKE(alg) \ argument
1705 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) 0 argument
1726 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) 0 argument
1805 psa_algorithm_t alg; member
/device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/tests/src/drivers/
Dtest_driver_signature.c58 psa_algorithm_t alg, in sign_hash()
135 psa_algorithm_t alg, in verify_hash()
210 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message()
264 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message()
288 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message()
329 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message()
350 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash()
377 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash()
397 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash()
414 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_cipher.c46 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
94 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
140 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
171 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
316 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
338 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
358 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
372 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
Dtest_driver_mac.c38 psa_algorithm_t alg, in mbedtls_test_transparent_mac_compute()
90 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_sign_setup()
130 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_verify_setup()
301 psa_algorithm_t alg, in mbedtls_test_opaque_mac_compute()
337 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_sign_setup()
364 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_verify_setup()
Dtest_driver_aead.c34 psa_algorithm_t alg, in mbedtls_test_transparent_aead_encrypt()
82 psa_algorithm_t alg, in mbedtls_test_transparent_aead_decrypt()
131 psa_algorithm_t alg ) in mbedtls_test_transparent_aead_encrypt_setup()
163 psa_algorithm_t alg ) in mbedtls_test_transparent_aead_decrypt_setup()
Dhash.c35 psa_algorithm_t alg, in mbedtls_test_transparent_hash_compute()
75 psa_algorithm_t alg ) in mbedtls_test_transparent_hash_setup()
/device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/tests/src/
Dpsa_exercise_key.c119 psa_algorithm_t alg ) in exercise_mac_key()
164 psa_algorithm_t alg ) in exercise_cipher_key()
237 psa_algorithm_t alg ) in exercise_aead_key()
299 psa_algorithm_t alg ) in exercise_signature_key()
383 psa_algorithm_t alg ) in exercise_asymmetric_encryption_key()
422 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap()
471 psa_algorithm_t alg ) in exercise_key_derivation_key()
544 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self()
595 psa_algorithm_t alg ) in exercise_raw_key_agreement_key()
613 psa_algorithm_t alg ) in exercise_key_agreement_key()
[all …]
/device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/library/
Dpsa_crypto.c819 psa_algorithm_t alg ) in psa_key_policy_permits()
892 psa_algorithm_t alg ) in psa_get_and_lock_key_slot_with_policy()
951 psa_algorithm_t alg ) in psa_get_and_lock_transparent_key_slot_with_policy()
2118 psa_algorithm_t alg ) in psa_hash_setup()
2220 psa_status_t psa_hash_compute( psa_algorithm_t alg, in psa_hash_compute()
2233 psa_status_t psa_hash_compare( psa_algorithm_t alg, in psa_hash_compare()
2299 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation()
2340 psa_algorithm_t alg, in psa_mac_setup()
2401 psa_algorithm_t alg ) in psa_mac_sign_setup()
2408 psa_algorithm_t alg ) in psa_mac_verify_setup()
[all …]
Dpsa_crypto_cipher.c35 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa()
135 psa_algorithm_t alg, in psa_cipher_setup()
212 psa_algorithm_t alg ) in mbedtls_psa_cipher_encrypt_setup()
223 psa_algorithm_t alg ) in mbedtls_psa_cipher_decrypt_setup()
451 psa_algorithm_t alg, in mbedtls_psa_cipher_encrypt()
505 psa_algorithm_t alg, in mbedtls_psa_cipher_decrypt()
Dpsa_crypto_driver_wrappers.c113 psa_algorithm_t alg, in psa_driver_wrapper_sign_message()
188 psa_algorithm_t alg, in psa_driver_wrapper_verify_message()
258 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash()
342 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash()
875 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt()
967 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt()
1049 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup()
1122 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup()
1350 psa_algorithm_t alg, in psa_driver_wrapper_hash_compute()
1387 psa_algorithm_t alg ) in psa_driver_wrapper_hash_setup()
[all …]
Dpsa_crypto_hash.c36 const mbedtls_md_info_t *mbedtls_md_info_from_psa( psa_algorithm_t alg ) in mbedtls_md_info_from_psa()
132 psa_algorithm_t alg ) in mbedtls_psa_hash_setup()
393 psa_algorithm_t alg, in mbedtls_psa_hash_compute()
Dpsa_crypto_mac.c199 psa_algorithm_t alg ) in mac_init()
279 psa_algorithm_t alg ) in psa_mac_setup()
329 psa_algorithm_t alg ) in mbedtls_psa_mac_sign_setup()
340 psa_algorithm_t alg ) in mbedtls_psa_mac_verify_setup()
464 psa_algorithm_t alg, in mbedtls_psa_mac_compute()
Dpsa_crypto_aead.c46 psa_algorithm_t alg ) in psa_aead_setup()
144 psa_algorithm_t alg, in mbedtls_psa_aead_encrypt()
260 psa_algorithm_t alg, in mbedtls_psa_aead_decrypt()
357 psa_algorithm_t alg ) in mbedtls_psa_aead_encrypt_setup()
377 psa_algorithm_t alg ) in mbedtls_psa_aead_decrypt_setup()
Dpsa_crypto_rsa.c323 static psa_status_t psa_rsa_decode_md_type( psa_algorithm_t alg, in psa_rsa_decode_md_type()
354 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_sign_hash()
432 static int rsa_pss_expected_salt_len( psa_algorithm_t alg, in rsa_pss_expected_salt_len()
455 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_verify_hash()
Dpsa_crypto_ecp.c339 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_sign_hash()
413 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_verify_hash()
/device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/programs/psa/
Dcrypto_examples.c98 psa_algorithm_t alg, in cipher_encrypt()
129 psa_algorithm_t alg, in cipher_decrypt()
166 const psa_algorithm_t alg = PSA_ALG_CBC_NO_PADDING; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
216 const psa_algorithm_t alg = PSA_ALG_CBC_PKCS7; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
263 const psa_algorithm_t alg = PSA_ALG_CTR; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
Dkapi_symc.c243 static hi_s32 kapi_symc_chk_des_3des_param(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 widt… in kapi_symc_chk_des_3des_param()
276 static hi_s32 kapi_symc_chk_aes_param(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 width) in kapi_symc_chk_aes_param()
300 static hi_s32 kapi_symc_chk_sm1_param(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 width, hi… in kapi_symc_chk_sm1_param()
331 static hi_s32 kapi_symc_chk_sm4_param(hi_cipher_alg alg, hi_cipher_work_mode mode) in kapi_symc_chk_sm4_param()
342 static hi_s32 kapi_symc_width_check(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 width, hi_u… in kapi_symc_width_check()
496 static hi_s32 kapi_symc_check_ccm_gcm_taglen(hi_cipher_alg alg, hi_cipher_work_mode work_mode, hi_u… in kapi_symc_check_ccm_gcm_taglen()
/device/soc/hisilicon/ws63v100/sdk/open_source/GmSSL3.0/src/
Dsm9_key.c493 int sm9_algor_to_der(int alg, int params, uint8_t **out, size_t *outlen) in sm9_algor_to_der()
507 int sm9_algor_from_der(int *alg, int *params, const uint8_t **in, size_t *inlen) in sm9_algor_from_der()
526 static int sm9_private_key_info_to_der(int alg, int params, const uint8_t *prikey, size_t prikey_le… in sm9_private_key_info_to_der()
548 static int sm9_private_key_info_from_der(int *alg, int *params, const uint8_t **prikey, size_t *pri… in sm9_private_key_info_from_der()
579 static int sm9_private_key_info_encrypt_to_der(int alg, int params, const uint8_t *prikey, size_t p… in sm9_private_key_info_encrypt_to_der()
619 static int sm9_private_key_info_decrypt_from_der(int *alg, int *params, uint8_t *prikey, size_t *pr… in sm9_private_key_info_decrypt_from_der()
692 int alg, params; in sm9_sign_master_key_info_decrypt_from_der() local
801 int alg, params; in sm9_sign_key_info_decrypt_from_der() local
878 int alg, params; in sm9_enc_master_key_info_decrypt_from_der() local
987 int alg, params; in sm9_enc_key_info_decrypt_from_der() local
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_symc.c238 static hi_void cryp_symc_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width) in cryp_symc_setmode()
256 static hi_void cryp_3des2dma_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width) in cryp_3des2dma_setmode()
477 static symc_klen cryp_symc_key_type(symc_alg alg, hi_u32 klen) in cryp_symc_key_type()
1201 static symc_func *cryp_get_symc(hi_u32 alg, hi_u32 mode) in cryp_get_symc()
1507 static hi_void cryp_register_symc_default(symc_func *func, symc_alg alg, symc_mode mode) in cryp_register_symc_default()
1890 static hi_s32 cryp_get_symc_alg(hi_cipher_alg alg, symc_alg *cryp_alg) in cryp_get_symc_alg()
1958 symc_func *cryp_get_symc_op(hi_cipher_alg alg, hi_cipher_work_mode mode) in cryp_get_symc_op()
/device/soc/hisilicon/ws63v100/sdk/open_source/GmSSL3.0/tools/
Dsm9setup.c25 char *alg = NULL; in sm9setup_main() local
Dsm9keygen.c25 char *alg = NULL; in sm9keygen_main() local
/device/soc/hisilicon/ws63v100/sdk/drivers/drivers/driver/security_unified/drv_cipher/drv_code/
Dcrypto_drv_common.c122 td_bool __attribute__((weak)) crypto_sm_support(crypto_sm_alg alg) in crypto_sm_support()
143 td_bool crypto_symc_support(crypto_symc_alg alg, crypto_symc_work_mode mode, crypto_symc_key_length… in crypto_symc_support()
/device/soc/hisilicon/ws63v100/sdk/open_source/libcoap/libcoap/include/coap3/
Dcoap_crypto_internal.h60 cose_alg_t alg; /**< The COSE algorith to use */ member

1234