Home
last modified time | relevance | path

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

123456789

/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/openssh/
Ddigest-openssl.c46 int alg; member
68 ssh_digest_by_alg(int alg) in ssh_digest_by_alg()
82 int alg; in ssh_digest_alg_by_name() local
92 ssh_digest_alg_name(int alg) in ssh_digest_alg_name()
100 ssh_digest_bytes(int alg) in ssh_digest_bytes()
114 ssh_digest_start(int alg) in ssh_digest_start()
185 ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen) in ssh_digest_memory()
203 ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen) in ssh_digest_buffer()
Ddigest-libc.c48 int alg; member
118 ssh_digest_by_alg(int alg) in ssh_digest_by_alg()
130 int alg; in ssh_digest_alg_by_name() local
140 ssh_digest_alg_name(int alg) in ssh_digest_alg_name()
148 ssh_digest_bytes(int alg) in ssh_digest_bytes()
164 ssh_digest_start(int alg) in ssh_digest_start()
239 ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen) in ssh_digest_memory()
253 ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen) in ssh_digest_buffer()
Dhmac.c30 int alg; member
39 ssh_hmac_bytes(int alg) in ssh_hmac_bytes()
45 ssh_hmac_start(int alg) in ssh_hmac_start()
/external/tensorflow/tensorflow/compiler/tests/
Dstateful_random_ops_test.py71 def testSimple(self, alg): argument
81 def testDefun(self, alg): argument
297 def testUniformIsNotConstant(self, alg, dtype): argument
308 def testNormalIsNotConstant(self, alg, dtype): argument
318 def testUniformIsInRange(self, alg, dtype): argument
331 def testNormalIsFinite(self, alg, dtype): argument
339 def testDistributionOfUniform(self, alg, dtype): argument
362 def testDistributionOfNormal(self, alg, dtype): argument
376 def testTruncatedNormal(self, alg, dtype): argument
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateful_random_ops.cc41 xla::BitGeneratorTy BitGen(Algorithm alg) { in BitGen()
66 xla::RngOutput StatefulRngUniform(Algorithm alg, xla::XlaOp key, in StatefulRngUniform()
92 xla::RngOutput StatefulRngUniformFullInt(Algorithm alg, xla::XlaOp key, in StatefulRngUniformFullInt()
117 int64 GetMinStateSize(Algorithm alg) { in GetMinStateSize()
124 Status CheckStateShape(Algorithm alg, const TensorShape& shape) { in CheckStateShape()
138 std::pair<xla::XlaOp, xla::XlaOp> StateAndKeyFromVariable(Algorithm alg, in StateAndKeyFromVariable()
160 xla::XlaOp StateAndKeyToVariable(Algorithm alg, xla::XlaOp state, in StateAndKeyToVariable()
184 Algorithm alg = Algorithm(alg_literal.Get<int64>({})); in CompileImpl() local
226 TensorShape shape) -> SamplerReturnType { in Compile()
270 TensorShape shape) -> SamplerReturnType { in Compile()
[all …]
Dstateless_random_ops_v2.cc42 inline xla::RandomAlgorithm AlgorithmToRandomAlgorithm(Algorithm const& alg) { in AlgorithmToRandomAlgorithm()
53 inline Algorithm RandomAlgorithmToAlgorithm(xla::RandomAlgorithm const& alg) { in RandomAlgorithmToAlgorithm()
64 xla::XlaOp GetCounter(xla::RandomAlgorithm const& alg, xla::XlaOp state) { in GetCounter()
70 xla::RngOutput BitGenerator(xla::RandomAlgorithm const& alg, xla::XlaOp key, in BitGenerator()
111 xla::RngOutput StatelessRngUniformV2(xla::RandomAlgorithm const& alg, in StatelessRngUniformV2()
145 xla::RngOutput StatelessRngUniformFullInt(xla::RandomAlgorithm const& alg, in StatelessRngUniformFullInt()
171 xla::RandomAlgorithm* alg) { in GetAlgorithm()
184 xla::XlaOp MaybeSliceCounter(xla::RandomAlgorithm const& alg, in MaybeSliceCounter()
214 xla::RandomAlgorithm alg; in Compile() local
267 xla::RandomAlgorithm alg; in Compile() local
[all …]
/external/webrtc/rtc_base/
Dmessage_digest.cc33 MessageDigest* MessageDigestFactory::Create(const std::string& alg) { in Create()
42 bool IsFips180DigestAlgorithm(const std::string& alg) { in IsFips180DigestAlgorithm()
62 size_t ComputeDigest(const std::string& alg, in ComputeDigest()
79 bool ComputeDigest(const std::string& alg, in ComputeDigest()
90 std::string ComputeDigest(const std::string& alg, const std::string& input) { in ComputeDigest()
138 size_t ComputeHmac(const std::string& alg, in ComputeHmac()
162 bool ComputeHmac(const std::string& alg, in ComputeHmac()
174 std::string ComputeHmac(const std::string& alg, in ComputeHmac()
/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/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/tensorflow/tensorflow/python/ops/
Dstateful_random_ops.py139 def _get_counter_size(alg): argument
148 def _get_state_size(alg): argument
157 def _check_state_shape(shape, alg): argument
163 def _make_state_from_seed(seed, alg): argument
167 def _convert_alg_to_int(alg): argument
196 def create_rng_state(seed, alg): argument
339 def from_state(cls, state, alg): argument
354 def from_seed(cls, seed, alg=None): argument
380 def from_non_deterministic_state(cls, alg=None): argument
401 def from_key_counter(cls, key, counter, alg): argument
[all …]
/external/fsverity-utils/lib/
Dhash_algs.c68 openssl_digest_ctx_create(const struct fsverity_hash_alg *alg, const EVP_MD *md) in openssl_digest_ctx_create()
105 static struct hash_ctx *create_sha256_ctx(const struct fsverity_hash_alg *alg) in create_sha256_ctx()
110 static struct hash_ctx *create_sha512_ctx(const struct fsverity_hash_alg *alg) in create_sha512_ctx()
193 const struct fsverity_hash_alg *alg = in libfsverity_get_digest_size() local
202 const struct fsverity_hash_alg *alg = in libfsverity_get_hash_name() local
/external/ltp/lib/
Dtst_crypto.c68 const struct crypto_user_alg *alg) in tst_crypto_add_alg()
84 const struct crypto_user_alg *alg) in tst_crypto_del_alg()
/external/tensorflow/tensorflow/core/kernels/
Dstateful_random_ops.cc87 bool read_alg_from_state, Algorithm alg, int64 output_size, in UpdateVariableAndFill()
130 bool read_alg_from_state, Algorithm alg) { in StatefulRandomCompute()
172 Status GetAlg(OpKernelContext* ctx, int input_idx, Algorithm* alg) { in GetAlg()
185 Algorithm alg; in Compute() local
199 Algorithm alg; in Compute() local
236 Algorithm alg; in Compute() local
270 Algorithm alg; in Compute() local
Dstateless_random_ops_v2.cc81 Algorithm alg = Algorithm(alg_id); in Compute() local
109 void Fill(OpKernelContext* ctx, Algorithm alg, const Tensor& key, in Fill()
133 void Fill(OpKernelContext* ctx, Algorithm alg, const Tensor& key, in Fill()
177 void Fill(OpKernelContext* ctx, Algorithm alg, const Tensor& key, in Fill()
/external/tpm2-tss/src/tss2-esys/
Desys_crypto.h40 #define iesys_crypto_cpHash(alg, ccBuffer, name1, name2, name3, \ argument
44 #define iesys_crypto_rpHash(alg, rcBuffer, ccBuffer, rpBuffer, rpBuffer_size, \ argument
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Drsa_pss.c93 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, in rsa_pss_decode()
157 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) { in rsa_algor_to_md()
170 static const EVP_MD *rsa_mgf1_to_md(X509_ALGOR *alg, X509_ALGOR *maskHash) { in rsa_mgf1_to_md()
/external/boringssl/src/crypto/x509/
Drsa_pss.c93 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, in rsa_pss_decode()
157 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) { in rsa_algor_to_md()
170 static const EVP_MD *rsa_mgf1_to_md(X509_ALGOR *alg, X509_ALGOR *maskHash) { in rsa_mgf1_to_md()
/external/libwebsockets/lib/tls/
Dlws-gencrypto-common.c576 lws_gencrypto_jws_alg_to_definition(const char *alg, in lws_gencrypto_jws_alg_to_definition()
594 lws_gencrypto_jwe_alg_to_definition(const char *alg, in lws_gencrypto_jwe_alg_to_definition()
/external/rust/crates/ring/tests/
Drsa_tests.rs84 let alg = match digest_name.as_ref() { in test_signature_rsa_pkcs1_sign() localVariable
125 let alg = match digest_name.as_ref() { in test_signature_rsa_pss_sign() localVariable
245 let alg = match digest_name.as_ref() { in test_signature_rsa_pss_verify() localVariable
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c20 enum crypto_hash_alg alg; member
39 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptSym.h107 #define ENCRYPT_CASE(ALG, alg) \ argument
112 #define DECRYPT_CASE(ALG, alg) \ argument
/external/wpa_supplicant_8/src/tls/
Dpkcs5.c25 } alg; member
48 static int pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) in pkcs5_is_oid()
58 static int enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) in enc_alg_is_oid()
67 static int pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) in pkcs12_is_pbe_oid()

123456789