Searched refs:key_bytes (Results 1 – 8 of 8) sorted by relevance
/external/python/oauth2client/tests/ |
D | test__pure_python_crypt.py | 137 key_bytes = self._load_pkcs1_key_bytes() 138 signer = crypt.RsaSigner.from_string(key_bytes) 143 key_bytes = _helpers._from_bytes(self._load_pkcs1_key_bytes()) 144 signer = crypt.RsaSigner.from_string(key_bytes) 149 key_bytes = self._load_pkcs8_key_bytes() 150 signer = crypt.RsaSigner.from_string(key_bytes) 155 key_bytes = self._load_pkcs8_key_bytes() 157 six.StringIO(_helpers._from_bytes(key_bytes)), 164 crypt.RsaSigner.from_string(key_bytes) 170 key_bytes = _helpers._from_bytes(self._load_pkcs8_key_bytes()) [all …]
|
D | test__pycrypto_crypt.py | 71 key_bytes = 'definitely-not-pem-format' 73 crypt.PyCryptoSigner.from_string(key_bytes)
|
/external/python/oauth2client/oauth2client/ |
D | _pure_python_crypt.py | 121 key_bytes = _bit_list_to_bytes(cert_info['subjectPublicKey']) 122 pubkey = rsa.PublicKey.load_pkcs1(key_bytes, 'DER') 167 marker_id, key_bytes = pem.readPemBlocksFromFile( 171 pkey = rsa.key.PrivateKey.load_pkcs1(key_bytes, 175 key_bytes, asn1Spec=_PKCS8_SPEC)
|
/external/vboot_reference/firmware/2lib/ |
D | 2rsa.c | 298 uint32_t key_bytes; in vb2_rsa_verify_digest() local 313 key_bytes = key->arrsize * sizeof(uint32_t); in vb2_rsa_verify_digest() 314 if (key_bytes != sig_size) { in vb2_rsa_verify_digest() 319 workbuf32 = vb2_workbuf_alloc(&wblocal, 3 * key_bytes); in vb2_rsa_verify_digest() 325 vb2_workbuf_free(&wblocal, 3 * key_bytes); in vb2_rsa_verify_digest() 342 if (vb2_safe_memcmp(sig + pad_size, digest, key_bytes - pad_size)) { in vb2_rsa_verify_digest()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
D | lsh_projection.cc | 121 const size_t key_bytes = sizeof(float) + input_item_bytes; in RunningSignBit() local 122 std::unique_ptr<char[]> key(new char[key_bytes]); in RunningSignBit() 129 int64_t hash_signature = farmhash::Fingerprint64(key.get(), key_bytes); in RunningSignBit()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | lsh_projection.cc | 121 const size_t key_bytes = sizeof(float) + input_item_bytes; in RunningSignBit() local 122 std::unique_ptr<char[]> key(new char[key_bytes]); in RunningSignBit() 129 int64_t hash_signature = farmhash::Fingerprint64(key.get(), key_bytes); in RunningSignBit()
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | internal.h | 122 size_t key_bytes);
|
D | e_aes.c | 233 size_t key_bytes) { in aes_ctr_set_key() argument 235 aes_hw_set_encrypt_key(key, key_bytes * 8, aes_key); in aes_ctr_set_key() 246 aes_nohw_set_encrypt_key(key, key_bytes * 8, aes_key); in aes_ctr_set_key() 257 vpaes_set_encrypt_key(key, key_bytes * 8, aes_key); in aes_ctr_set_key() 271 aes_nohw_set_encrypt_key(key, key_bytes * 8, aes_key); in aes_ctr_set_key()
|