Home
last modified time | relevance | path

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

12345678910>>...16

/external/mbedtls/include/psa/
Dcrypto_values.h773 #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 …]
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
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/
Dtools.py34 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/
Dcrypto_sizes.h69 #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 …]
Dcrypto_values.h699 #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 …]
Dcrypto_compat.h111 #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/
Dstateful_random_ops_test.py66 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/
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()
/external/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_signature.c62 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()
Dtest_driver_cipher.c50 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/
Dstateful_random_ops.cc42 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 …]
Dstateless_random_ops_v2.cc44 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/
Dmessage_digest.cc34 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/
Dstateless_random_ops.py60 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/
DTPMA-marshal.c25 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
DTPMS-marshal.c25 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/
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 …]
/external/mbedtls/tests/src/
Dpsa_exercise_key.c119 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/
DAlgorithmTests.c62 #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()
DCryptSelfTest.c60 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/
Dcose_sign.c55 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
Dcose_validate.c50 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/
DKMPoolManager.java282 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/
DKMPoolManager.java278 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()

12345678910>>...16