Home
last modified time | relevance | path

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

12345678910>>...22

/external/scapy/scapy/layers/tls/
Dtools.py39 def _tls_compress(alg, p): argument
52 def _tls_decompress(alg, c): argument
65 def _tls_mac_add(alg, c, write_seq_num): argument
79 def _tls_mac_verify(alg, p, read_seq_num): argument
150 def _tls_encrypt(alg, p): argument
165 def _tls_decrypt(alg, c): argument
178 def _tls_aead_auth_encrypt(alg, p, write_seq_num): argument
200 def _tls_aead_auth_decrypt(alg, c, read_seq_num): argument
/external/mbedtls/include/psa/
Dcrypto_values.h777 #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 …]
Dcrypto_sizes.h60 #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 …]
/external/openthread/third_party/mbedtls/repo/include/psa/
Dcrypto_values.h797 #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 …]
Dcrypto_sizes.h60 #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 …]
/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/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_signature.c45 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()
Dtest_driver_cipher.c34 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
87 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
134 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
166 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
319 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
341 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
361 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
375 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
/external/mbedtls/tests/src/drivers/
Dtest_driver_signature.c46 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()
/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/vboot_reference/tests/
Dvb2_crypto_tests.c20 enum vb2_hash_algorithm alg; in hash_algorithm_name_tests() local
36 enum vb2_signature_algorithm alg; in sig_algorithm_name_tests() local
54 enum vb2_hash_algorithm alg, out; in hash_algorithm_lookup_tests() local
76 enum vb2_signature_algorithm alg, out; in sig_algorithm_lookup_tests() local
/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/google-auth-library-java/oauth2_http/testresources/
Diap_keys.json4 "alg" : "ES256", string
13 "alg" : "ES256", string
22 "alg" : "ES256", string
31 "alg" : "ES256", string
40 "alg" : "ES256", string
/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
/external/mbedtls/tests/src/
Dpsa_exercise_key.c103 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 …]
/external/open-dice/src/
Dboringssl_multialg_ops.c42 DiceKeyAlgorithm alg; in DiceGetKeyParam() local
81 DiceKeyAlgorithm alg; in DiceKeypairFromSeed() local
107 DiceKeyAlgorithm alg; in DiceSign() local
137 DiceKeyAlgorithm alg; in DiceVerify() local
/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/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/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()
/external/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto_cipher.c30 psa_algorithm_t alg, in mbedtls_cipher_validate_values()
127 psa_algorithm_t alg, in mbedtls_cipher_values_from_psa()
259 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa()
286 psa_algorithm_t alg, in psa_cipher_setup()
364 psa_algorithm_t alg) in mbedtls_psa_cipher_encrypt_setup()
375 psa_algorithm_t alg) in mbedtls_psa_cipher_decrypt_setup()
608 psa_algorithm_t alg, in mbedtls_psa_cipher_encrypt()
666 psa_algorithm_t alg, in mbedtls_psa_cipher_decrypt()

12345678910>>...22