/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/psa/ |
H A D | crypto_values.h | 797 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 808 #define PSA_ALG_IS_HASH(alg) \ argument 819 #define PSA_ALG_IS_MAC(alg) \ argument 830 #define PSA_ALG_IS_CIPHER(alg) \ argument 842 #define PSA_ALG_IS_AEAD(alg) \ argument 854 #define PSA_ALG_IS_SIGN(alg) \ argument 866 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 877 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 888 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 905 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument [all …]
|
H A D | crypto_sizes.h | 60 #define PSA_HASH_LENGTH(alg) \ argument 92 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument 188 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument 328 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 360 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 413 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 465 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 517 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 558 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 592 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
/aosp_15_r20/external/mbedtls/include/psa/ |
H A D | crypto_values.h | 777 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 788 #define PSA_ALG_IS_HASH(alg) \ argument 799 #define PSA_ALG_IS_MAC(alg) \ argument 810 #define PSA_ALG_IS_CIPHER(alg) \ argument 822 #define PSA_ALG_IS_AEAD(alg) \ argument 834 #define PSA_ALG_IS_SIGN(alg) \ argument 846 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 857 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 868 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 885 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument [all …]
|
H A D | crypto_sizes.h | 60 #define PSA_HASH_LENGTH(alg) \ argument 92 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument 188 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument 318 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 350 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 403 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 455 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 507 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 548 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 582 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | stateful_random_ops.cc | 42 xla::BitGeneratorTy BitGen(Algorithm alg) { in BitGen() 67 xla::RngOutput StatefulRngUniform(Algorithm alg, xla::XlaOp key, in StatefulRngUniform() 93 xla::RngOutput StatefulRngUniformFullInt(Algorithm alg, xla::XlaOp key, in StatefulRngUniformFullInt() 118 int64_t GetMinStateSize(Algorithm alg) { in GetMinStateSize() 125 Status CheckStateShape(Algorithm alg, const TensorShape& shape) { in CheckStateShape() 139 std::pair<xla::XlaOp, xla::XlaOp> StateAndKeyFromVariable(Algorithm alg, in StateAndKeyFromVariable() 161 xla::XlaOp StateAndKeyToVariable(Algorithm alg, xla::XlaOp state, in StateAndKeyToVariable() 185 Algorithm alg = Algorithm(alg_literal.Get<int64_t>({})); in CompileImpl() local 227 TensorShape shape) -> SamplerReturnType { in Compile() 271 TensorShape shape) -> SamplerReturnType { in Compile() [all …]
|
H A D | stateless_random_ops_v2.cc | 44 inline xla::RandomAlgorithm TensorFlowRngAlgToXla(Algorithm const& alg) { in TensorFlowRngAlgToXla() 55 inline Algorithm XlaRngAlgToTensorFlow(xla::RandomAlgorithm const& alg) { in XlaRngAlgToTensorFlow() 66 xla::XlaOp GetCounter(xla::RandomAlgorithm const& alg, xla::XlaOp state) { in GetCounter() 72 xla::RngOutput BitGenerator(xla::RandomAlgorithm const& alg, xla::XlaOp key, in BitGenerator() 113 xla::RngOutput StatelessRngUniformV2(xla::RandomAlgorithm const& alg, in StatelessRngUniformV2() 147 xla::RngOutput StatelessRngUniformFullInt(xla::RandomAlgorithm const& alg, in StatelessRngUniformFullInt() 182 auto alg = Algorithm(alg_literal.Get<int>({})); in AlgorithmFromInput() local 190 xla::XlaOp MaybeSliceCounter(xla::RandomAlgorithm const& alg, in MaybeSliceCounter() 227 xla::RandomAlgorithm alg; in Compile() local 296 xla::RandomAlgorithm alg; in Compile() local [all …]
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | psa_crypto.c | 989 psa_algorithm_t alg) in psa_key_policy_permits() 1067 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy() 1127 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy() 2321 psa_algorithm_t alg) in psa_hash_setup() 2426 psa_status_t psa_hash_compute(psa_algorithm_t alg, in psa_hash_compute() 2440 psa_status_t psa_hash_compare(psa_algorithm_t alg, in psa_hash_compare() 2509 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation() 2563 psa_algorithm_t alg, in psa_mac_setup() 2624 psa_algorithm_t alg) in psa_mac_sign_setup() 2631 psa_algorithm_t alg) in psa_mac_verify_setup() [all …]
|
H A D | psa_crypto_driver_wrappers.h | 115 psa_algorithm_t alg, in psa_driver_wrapper_sign_message() 190 psa_algorithm_t alg, in psa_driver_wrapper_verify_message() 260 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash() 364 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash() 514 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_sign_hash_start() 601 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_verify_hash_start() 1047 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt() 1139 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt() 1221 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup() 1294 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup() [all …]
|
/aosp_15_r20/external/mbedtls/tests/src/ |
H A D | psa_exercise_key.c | 103 psa_algorithm_t alg) in exercise_mac_key() 145 psa_algorithm_t alg) in exercise_cipher_key() 220 psa_algorithm_t alg) in exercise_aead_key() 271 psa_algorithm_t alg) in can_sign_or_verify_message() 284 psa_algorithm_t alg) in exercise_signature_key() 363 psa_algorithm_t alg) in exercise_asymmetric_encryption_key() 400 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap() 456 psa_algorithm_t alg) in exercise_key_derivation_key() 529 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self() 579 psa_algorithm_t alg) in exercise_raw_key_agreement_key() [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | psa_crypto_driver_wrappers.h | 115 psa_algorithm_t alg, in psa_driver_wrapper_sign_message() 190 psa_algorithm_t alg, in psa_driver_wrapper_verify_message() 260 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash() 364 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash() 514 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_sign_hash_start() 605 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_verify_hash_start() 1073 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt() 1165 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt() 1247 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup() 1320 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup() [all …]
|
H A D | psa_crypto.c | 1011 psa_algorithm_t alg) in psa_key_policy_permits() 1095 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy() 1161 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy() 2293 psa_algorithm_t alg) in psa_hash_setup() 2426 psa_status_t psa_hash_compute(psa_algorithm_t alg, in psa_hash_compute() 2453 psa_status_t psa_hash_compare(psa_algorithm_t alg, in psa_hash_compare() 2534 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation() 2588 psa_algorithm_t alg, in psa_mac_setup() 2644 psa_algorithm_t alg) in psa_mac_sign_setup() 2651 psa_algorithm_t alg) in psa_mac_verify_setup() [all …]
|
/aosp_15_r20/external/scapy/scapy/layers/tls/ |
H A D | tools.py | 34 def _tls_compress(alg, p): argument 46 def _tls_decompress(alg, c): argument 58 def _tls_mac_add(alg, c, write_seq_num): argument 71 def _tls_mac_verify(alg, p, read_seq_num): argument 139 def _tls_encrypt(alg, p): argument 153 def _tls_decrypt(alg, c): argument 165 def _tls_aead_auth_encrypt(alg, p, write_seq_num): argument 186 def _tls_aead_auth_decrypt(alg, c, read_seq_num): argument
|
/aosp_15_r20/external/mbedtls/tests/src/drivers/ |
H A D | test_driver_signature.c | 46 psa_algorithm_t alg, in sign_hash() 114 psa_algorithm_t alg, in verify_hash() 180 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message() 236 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message() 260 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message() 303 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message() 324 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash() 352 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash() 372 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash() 390 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/drivers/ |
H A D | test_driver_signature.c | 45 psa_algorithm_t alg, in sign_hash() 113 psa_algorithm_t alg, in verify_hash() 179 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message() 235 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message() 259 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message() 302 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message() 323 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash() 351 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash() 371 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash() 389 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tests/ |
H A D | stateful_random_ops_test.py | 66 def testSimple(self, alg): argument 75 def testDefun(self, alg): argument 217 def testUniformIsNotConstant(self, alg, dtype): argument 228 def testNormalIsNotConstant(self, alg, dtype): argument 238 def testUniformIsInRange(self, alg, dtype): argument 251 def testNormalIsFinite(self, alg, dtype): argument 259 def testDistributionOfUniform(self, alg, dtype): argument 282 def testDistributionOfNormal(self, alg, dtype): argument 296 def testTruncatedNormal(self, alg, dtype): argument
|
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/ |
H A D | stateless_random_ops.py | 60 def convert_alg_to_int(alg): argument 94 def _resolve_alg(alg): argument 100 def _get_key_counter(seed, alg): argument 137 def _get_key_counter_alg(seed, alg): argument 169 def split(seed, num=2, alg="auto_select"): argument 205 def fold_in(seed, data, alg="auto_select"): argument 325 def stateless_shuffle(value, seed, alg="auto_select", name=None): argument 378 alg="auto_select"): argument 734 alg="auto_select"): argument 781 alg="auto_select"): argument
|
H A D | stateful_random_ops.py | 129 def _get_counter_size(alg): argument 141 def _get_state_size(alg): argument 153 def _check_state_shape(shape, alg): argument 159 def _make_state_from_seed(seed, alg): argument 164 def create_rng_state(seed, alg): argument 322 def from_state(cls, state, alg): argument 337 def from_seed(cls, seed, alg=None): argument 363 def from_non_deterministic_state(cls, alg=None): argument 387 def from_key_counter(cls, key, counter, alg): argument 412 def __init__(self, copy_from=None, state=None, alg=None): argument [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/ |
H A D | psa_exercise_key.c | 122 psa_algorithm_t alg, in exercise_mac_key() 177 psa_algorithm_t alg, in exercise_cipher_key() 265 psa_algorithm_t alg, in exercise_aead_key() 327 psa_algorithm_t alg) in can_sign_or_verify_message() 340 psa_algorithm_t alg, in exercise_signature_key() 441 psa_algorithm_t alg, in exercise_asymmetric_encryption_key() 489 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap() 590 psa_algorithm_t alg, in exercise_key_derivation_key() 684 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self() 749 psa_algorithm_t alg, in exercise_raw_key_agreement_key() [all …]
|
/aosp_15_r20/external/webrtc/rtc_base/ |
H A D | message_digest.cc | 34 MessageDigest* MessageDigestFactory::Create(absl::string_view alg) { in Create() 43 bool IsFips180DigestAlgorithm(absl::string_view alg) { in IsFips180DigestAlgorithm() 63 size_t ComputeDigest(absl::string_view alg, in ComputeDigest() 80 bool ComputeDigest(absl::string_view alg, in ComputeDigest() 91 std::string ComputeDigest(absl::string_view alg, absl::string_view input) { in ComputeDigest() 139 size_t ComputeHmac(absl::string_view alg, in ComputeHmac() 163 bool ComputeHmac(absl::string_view alg, in ComputeHmac() 175 std::string ComputeHmac(absl::string_view alg, in ComputeHmac()
|
/aosp_15_r20/external/libese/ready_se/google/keymint/KM300/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/ |
H A D | KMPoolManager.java | 278 private Object createInstance(short purpose, short alg) { in createInstance() 297 private KeyAgreement getKeyAgreementInstance(byte alg) { in getKeyAgreementInstance() 301 private Signature getSignatureInstance(byte alg) { in getSignatureInstance() 312 private KMKeyObject createKeyObjectInstance(byte alg) { in createKeyObjectInstance() 353 private Cipher getCipherInstance(byte alg) { in getCipherInstance() 457 short alg, in getRKpOperation() 493 short alg, in getOperationImpl() 557 public KMKeyObject getKeyObjectFromPool(short alg, short secretLength, short maxOperations) { in getKeyObjectFromPool() 586 private byte mapAlgorithm(short alg, short secretLength) { in mapAlgorithm()
|
/aosp_15_r20/external/libese/ready_se/google/keymint/KM200/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/ |
H A D | KMPoolManager.java | 282 private Object createInstance(short purpose, short alg) { in createInstance() 301 private KeyAgreement getKeyAgreementInstance(byte alg) { in getKeyAgreementInstance() 305 private Signature getSignatureInstance(byte alg) { in getSignatureInstance() 316 private KMKeyObject createKeyObjectInstance(byte alg) { in createKeyObjectInstance() 357 private Cipher getCipherInstance(byte alg) { in getCipherInstance() 461 short alg, in getRKpOperation() 501 short alg, in getOperationImpl() 565 public KMKeyObject getKeyObjectFromPool(short alg, short secretLength, short maxOperations) { in getKeyObjectFromPool() 594 private byte mapAlgorithm(short alg, short secretLength) { in mapAlgorithm()
|
/aosp_15_r20/external/tpm2-tss/test/unit/ |
H A D | TPMA-marshal.c | 25 TPMA_ALGORITHM alg = {0}, *ptr; in tpma_marshal_success() local 59 TPMA_ALGORITHM alg = {0}, *ptr; in tpma_marshal_success_offset() local 96 TPMA_ALGORITHM alg = {0}; in tpma_marshal_buffer_null_with_offset() local 124 TPMA_ALGORITHM alg = {0}; in tpma_marshal_buffer_null_offset_null() local 148 TPMA_ALGORITHM alg = {0}; in tpma_marshal_buffer_size_lt_data_nad_lt_offset() local 179 TPMA_ALGORITHM alg = {0}; in tpma_unmarshal_success() local 233 TPMA_ALGORITHM alg = {0}; in tpma_unmarshal_buffer_null_offset_null() local 283 TPMA_ALGORITHM alg = {0}; in tpma_unmarshal_buffer_size_lt_data_nad_lt_offset() local
|
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
H A D | AlgorithmTests.c | 62 #define CLEAR_BOTH(alg) { CLEAR_BIT(alg, *toTest); \ argument 66 #define SET_BOTH(alg) { SET_BIT(alg, *toTest); \ argument 70 #define TEST_BOTH(alg) ((toTest != &g_toTest) \ argument 217 TPM_ALG_ID alg; in AllModesAreDone() local 229 TPM_ALG_ID alg, in TestSymmetric() 525 TPM_ALG_ID alg, in TestRsa() 720 TPM_ALG_ID alg, in TestEcc() 779 TPM_ALG_ID alg, in TestAlgorithm()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPermission.java | 40 CryptoPermission(String alg) { super(""); } in CryptoPermission() 42 CryptoPermission(String alg, int maxKeySize) { super(""); } in CryptoPermission() 44 CryptoPermission(String alg, in CryptoPermission() 48 CryptoPermission(String alg, in CryptoPermission() 51 CryptoPermission(String alg, in CryptoPermission() 55 CryptoPermission(String alg, in CryptoPermission()
|
/aosp_15_r20/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | CryptoPermission.java | 40 CryptoPermission(String alg) { super(""); } in CryptoPermission() 42 CryptoPermission(String alg, int maxKeySize) { super(""); } in CryptoPermission() 44 CryptoPermission(String alg, in CryptoPermission() 48 CryptoPermission(String alg, in CryptoPermission() 51 CryptoPermission(String alg, in CryptoPermission() 55 CryptoPermission(String alg, in CryptoPermission()
|