/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/tensorflow/tensorflow/compiler/tests/ |
D | stateful_random_ops_test.py | 70 def testSimple(self, alg): argument 79 def testDefun(self, alg): argument 221 def testUniformIsNotConstant(self, alg, dtype): argument 232 def testNormalIsNotConstant(self, alg, dtype): argument 242 def testUniformIsInRange(self, alg, dtype): argument 255 def testNormalIsFinite(self, alg, dtype): argument 263 def testDistributionOfUniform(self, alg, dtype): argument 286 def testDistributionOfNormal(self, alg, dtype): argument 300 def testTruncatedNormal(self, alg, dtype): argument
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | stateful_random_ops.cc | 41 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 …]
|
D | stateless_random_ops_v2.cc | 42 inline xla::RandomAlgorithm TensorFlowRngAlgToXla(Algorithm const& alg) { in TensorFlowRngAlgToXla() 53 inline Algorithm XlaRngAlgToTensorFlow(xla::RandomAlgorithm const& alg) { in XlaRngAlgToTensorFlow() 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() 180 auto alg = Algorithm(alg_literal.Get<int>({})); in AlgorithmFromInput() local 188 xla::XlaOp MaybeSliceCounter(xla::RandomAlgorithm const& alg, in MaybeSliceCounter() 224 xla::RandomAlgorithm alg; in Compile() local 280 xla::RandomAlgorithm alg; in Compile() local [all …]
|
/external/webrtc/rtc_base/ |
D | message_digest.cc | 33 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/tensorflow/tensorflow/python/ops/ |
D | stateless_random_ops.py | 65 def convert_alg_to_int(alg): argument 99 def _resolve_alg(alg): argument 105 def _get_key_counter(seed, alg): argument 142 def _get_key_counter_alg(seed, alg): argument 174 def split(seed, num=2, alg="auto_select"): argument 210 def fold_in(seed, data, alg="auto_select"): argument 257 alg="auto_select"): argument 613 alg="auto_select"): argument 659 alg="auto_select"): argument
|
D | stateful_random_ops.py | 134 def _get_counter_size(alg): argument 146 def _get_state_size(alg): argument 158 def _check_state_shape(shape, alg): argument 164 def _make_state_from_seed(seed, alg): argument 169 def create_rng_state(seed, alg): argument 327 def from_state(cls, state, alg): argument 342 def from_seed(cls, seed, alg=None): argument 368 def from_non_deterministic_state(cls, alg=None): argument 392 def from_key_counter(cls, key, counter, alg): argument 417 def __init__(self, copy_from=None, state=None, alg=None): argument [all …]
|
/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/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
|
D | cose_sign_alg.c | 32 lws_cose_sig_alg_t *alg = lws_zalloc(sizeof(*alg), __func__); in lws_cose_sign_alg_create() local 169 lws_cose_sign_alg_hash(lws_cose_sig_alg_t *alg, const uint8_t *in, size_t in_len) in lws_cose_sign_alg_hash() 196 lws_cose_sign_alg_complete(lws_cose_sig_alg_t *alg) in lws_cose_sign_alg_complete()
|
D | cose_validate_alg.c | 32 lws_cose_sig_alg_t *alg = lws_zalloc(sizeof(*alg), __func__); in lws_cose_val_alg_create() local 170 lws_cose_val_alg_hash(lws_cose_sig_alg_t *alg, const uint8_t *in, size_t in_len) in lws_cose_val_alg_hash() 193 lws_cose_sig_alg_t *alg = *_alg; in lws_cose_val_alg_destroy() local
|
/external/fsverity-utils/lib/ |
D | hash_algs.c | 68 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/boringssl/src/crypto/x509/ |
D | x_algor.c | 107 const void **out_param_value, const X509_ALGOR *alg) in X509_ALGOR_get0() 128 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md) in X509_ALGOR_set_md()
|
D | rsa_pss.c | 102 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg, in rsa_pss_decode() 166 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) { in rsa_algor_to_md() 179 static const EVP_MD *rsa_mgf1_to_md(const X509_ALGOR *alg, in rsa_mgf1_to_md()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | stateful_random_ops.cc | 87 bool read_alg_from_state, Algorithm alg, int64_t 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
|
/external/ltp/testcases/kernel/crypto/ |
D | crypto_user02.c | 53 struct crypto_user_alg alg; in setup() local 80 struct crypto_user_alg alg = {}; in run() local
|
/external/ltp/lib/ |
D | tst_crypto.c | 68 const struct crypto_user_alg *alg) in tst_crypto_add_alg() 84 const struct crypto_user_alg *alg) in tst_crypto_del_alg()
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_crypto.h | 40 #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/ |
D | rsa_pss.c | 93 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/ |
D | lws-gencrypto-common.c | 576 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/ |
D | rsa_tests.rs | 66 let alg = match digest_name.as_ref() { in test_signature_rsa_pkcs1_sign() localVariable 107 let alg = match digest_name.as_ref() { in test_signature_rsa_pss_sign() localVariable 227 let alg = match digest_name.as_ref() { in test_signature_rsa_pss_verify() localVariable
|