| /external/mbedtls/include/psa/ |
| D | crypto_values.h | 773 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 784 #define PSA_ALG_IS_HASH(alg) \ argument 795 #define PSA_ALG_IS_MAC(alg) \ argument 806 #define PSA_ALG_IS_CIPHER(alg) \ argument 818 #define PSA_ALG_IS_AEAD(alg) \ argument 830 #define PSA_ALG_IS_SIGN(alg) \ argument 842 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 853 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 864 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 881 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument [all …]
|
| D | crypto_sizes.h | 65 #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 275 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 307 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 360 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 412 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 464 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 505 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 539 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
| /external/scapy/scapy/layers/tls/ |
| 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
|
| /external/openthread/third_party/mbedtls/repo/include/psa/ |
| D | crypto_sizes.h | 69 #define PSA_HASH_LENGTH(alg) \ argument 103 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument 175 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument 274 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 306 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 359 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 411 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 463 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 504 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 538 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
| D | crypto_values.h | 699 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 710 #define PSA_ALG_IS_HASH(alg) \ argument 721 #define PSA_ALG_IS_MAC(alg) \ argument 732 #define PSA_ALG_IS_CIPHER(alg) \ argument 744 #define PSA_ALG_IS_AEAD(alg) \ argument 756 #define PSA_ALG_IS_SIGN(alg) \ argument 768 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 779 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 790 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 899 #define PSA_ALG_IS_HMAC(alg) \ argument [all …]
|
| D | crypto_compat.h | 111 #define PSA_ASYMMETRIC_SIGN_OUTPUT_SIZE( key_type, key_bits, alg ) \ argument 119 #define PSA_HASH_SIZE( alg ) \ argument 121 #define PSA_MAC_FINAL_SIZE( key_type, key_bits, alg ) \ argument 130 psa_algorithm_t alg, in psa_asymmetric_sign() 141 psa_algorithm_t alg, in psa_asymmetric_verify() 288 #define PSA_AEAD_TAG_LENGTH_1_ARG( alg ) \ argument 314 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE_2_ARG( alg, plaintext_length ) \ argument 340 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE_2_ARG( alg, ciphertext_length ) \ argument 371 #define PSA_AEAD_UPDATE_OUTPUT_SIZE_2_ARG( alg, input_length ) \ argument 392 #define PSA_AEAD_FINISH_OUTPUT_SIZE_1_ARG( alg ) \ argument [all …]
|
| /external/tensorflow/tensorflow/compiler/tests/ |
| 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
|
| /external/mbedtls/tests/src/drivers/ |
| D | test_driver_signature.c | 58 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()
|
| D | test_driver_cipher.c | 46 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()
|
| /external/openthread/third_party/mbedtls/repo/tests/src/drivers/ |
| D | test_driver_signature.c | 62 psa_algorithm_t alg, in sign_hash() 139 psa_algorithm_t alg, in verify_hash() 214 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message() 268 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message() 292 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message() 333 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message() 354 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash() 381 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash() 401 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash() 418 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
|
| D | test_driver_cipher.c | 50 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt() 98 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt() 144 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup() 175 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup() 323 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt() 345 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt() 365 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup() 379 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
|
| /external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
| 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 …]
|
| 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 …]
|
| /external/webrtc/rtc_base/ |
| 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()
|
| /external/tensorflow/tensorflow/python/ops/ |
| 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
|
| /external/tpm2-tss/test/unit/ |
| 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
|
| D | TPMS-marshal.c | 25 TPMS_ALG_PROPERTY alg = {0}; in tpms_marshal_success() local 71 TPMS_ALG_PROPERTY alg = {0}; in tpms_marshal_success_offset() local 118 TPMS_ALG_PROPERTY alg = {0}; in tpms_marshal_buffer_null_with_offset() local 150 TPMS_ALG_PROPERTY alg = {0}; in tpms_marshal_buffer_null_offset_null() local 167 TPMS_ALG_PROPERTY alg = {0}; in tpms_marshal_buffer_size_lt_data_nad_lt_offset() local 199 TPMS_ALG_PROPERTY alg = {0}; in tpms_unmarshal_success() local 318 TPMS_ALG_PROPERTY alg = {0}; in tpms_unmarshal_buffer_size_lt_data_nad_lt_offset() local
|
| /external/openthread/third_party/mbedtls/repo/tests/src/ |
| D | psa_exercise_key.c | 119 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 …]
|
| /external/mbedtls/tests/src/ |
| D | psa_exercise_key.c | 119 psa_algorithm_t alg ) in exercise_mac_key() 164 psa_algorithm_t alg ) in exercise_cipher_key() 243 psa_algorithm_t alg ) in exercise_aead_key() 297 psa_algorithm_t alg ) in can_sign_or_verify_message() 309 psa_algorithm_t alg ) in exercise_signature_key() 393 psa_algorithm_t alg ) in exercise_asymmetric_encryption_key() 432 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap() 481 psa_algorithm_t alg ) in exercise_key_derivation_key() 554 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self() 605 psa_algorithm_t alg ) in exercise_raw_key_agreement_key() [all …]
|
| /external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
| 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()
|
| D | CryptSelfTest.c | 60 TPM_ALG_ID alg; in CryptRunSelfTests() local 130 TPM_ALG_ID alg; in CryptIncrementalSelfTest() local 200 TPM_ALG_ID alg, in CryptTestAlgorithm()
|
| /external/libwebsockets/lib/cose/ |
| D | cose_sign.c | 55 lws_cose_sign_add(struct lws_cose_sign_context *csc, cose_param_t alg, in lws_cose_sign_add() 88 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_sign_hashing() local 111 lws_cose_sig_alg_t *alg; in lws_cose_sign_payload_chunk() local 528 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_sign_destroy() local
|
| D | cose_validate.c | 50 cose_param_t alg; member 122 lws_cose_alg_to_name(cose_param_t alg) in lws_cose_alg_to_name() 192 lws_cose_sig_alg_t *alg; in apply_external() local 240 lws_cose_sig_alg_t *alg; in create_alg() local 450 lws_cose_sig_alg_t *alg; in cb_cose_sig() local 1024 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_validate_destroy() local
|
| /external/libese/ready_se/google/keymint/KM200/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/ |
| 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()
|
| /external/libese/ready_se/google/keymint/KM300/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/ |
| 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()
|