HomeSort by relevance Sort by last modified time
    Searched refs:key (Results 51 - 75 of 9119) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/avb/libavb/
avb_rsa.c 31 * key for computation. The code extends libmincrypt RSA verification code to
32 * support multiple RSA key lengths and hash digest algorithms.
49 IAvbKey* key = NULL; local
57 avb_error("Invalid key.\n");
63 avb_error("Unexpected key length.\n");
69 avb_error("Key does not match expected length.\n");
76 /* Store n and rr following the key header so we only have to do one
79 key = (IAvbKey*)(avb_malloc(sizeof(IAvbKey) + 2 * h.key_num_bits / 8));
80 if (key == NULL) {
84 key->len = h.key_num_bits / 32
    [all...]
  /external/u-boot/lib/libavb/
avb_rsa.c 7 * key for computation. The code extends libmincrypt RSA verification code to
8 * support multiple RSA key lengths and hash digest algorithms.
25 IAvbKey* key = NULL; local
33 avb_error("Invalid key.\n");
39 avb_error("Unexpected key length.\n");
45 avb_error("Key does not match expected length.\n");
52 /* Store n and rr following the key header so we only have to do one
55 key = (IAvbKey*)(avb_malloc(sizeof(IAvbKey) + 2 * h.key_num_bits / 8));
56 if (key == NULL) {
60 key->len = h.key_num_bits / 32
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
ZHash.java 23 * Concrete implementation of ZIndexable. Provides fast element retrieval via hash key. Also provides
44 public ValueType get(KeyType key) {
45 return hash.get(key);
53 * If key already exists within the structure, it's value is replaced with the new value and
55 * @param key
58 public synchronized void addToTop(KeyType key, ValueType value) {
59 if(hash.containsKey(key)) {
60 hash.put(key, value);
61 //throw new IllegalArgumentException("Key already exists in series structure...duplicates not permitted.");
63 hash.put(key, value);
    [all...]
  /external/libchrome/base/posix/
global_descriptors.cc 14 GlobalDescriptors::Descriptor::Descriptor(Key key, int fd)
15 : key(key), fd(fd), region(base::MemoryMappedFile::Region::kWholeFile) {
18 GlobalDescriptors::Descriptor::Descriptor(Key key,
21 : key(key), fd(fd), region(region) {
32 int GlobalDescriptors::Get(Key key) const
    [all...]
global_descriptors.h 35 // It maps from an abstract key to a descriptor. If independent modules each
44 typedef uint32_t Key;
46 Descriptor(Key key, int fd);
47 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region);
49 // Globally unique key.
50 Key key; member in struct:base::GlobalDescriptors::Descriptor
58 // Often we want a canonical descriptor for a given Key. In this case, we ad
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dp/
cdn_dp.c 24 static struct cdn_dp_hdcp_key_1x key; variable in typeref:struct:cdn_dp_hdcp_key_1x
26 int hdcp_handler(struct cdn_dp_hdcp_key_1x *key);
32 memset(&key, 0x00, sizeof(key));
33 hdcp_key_pdata = (uint64_t *)&key;
36 if (hdcp_key_pdata == (uint64_t *)(&key + 1))
37 return hdcp_handler(&key);
52 if (hdcp_key_pdata < (uint64_t *)&key ||
53 hdcp_key_pdata + 6 > (uint64_t *)(&key + 1))
  /device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
key.c 25 #include "key.h"
31 * Create a new key container
33 int key_new(key_t *key)
35 /* Create key pair container */
36 key->key = EVP_PKEY_new();
37 if (key->key == NULL) {
44 static int key_create_rsa(key_t *key)
62 printf("Cannot create RSA key\n")
188 key_t *key; local
208 key_t *key; local
    [all...]
  /external/grpc-grpc/src/python/grpcio/grpc/beta/
_metadata.py 19 'key',
24 def _beta_metadatum(key, value):
25 beta_key = key if isinstance(key, (bytes,)) else key.encode('ascii')
31 key = beta_key if isinstance(beta_key, (str,)) else beta_key.decode('utf8')
32 if isinstance(beta_value, (str,)) or key[-4:] == '-bin':
36 return _Metadatum(key, value)
43 return tuple(_beta_metadatum(key, value) for key, value in metadata
    [all...]
  /external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
MDC.java 24 public static void put(String key, String value) {
25 org.slf4j.MDC.put(key, value);
28 public static void put(String key, Object value) {
30 put(key, value.toString());
32 put(key, null);
36 public static Object get(String key) {
37 return org.slf4j.MDC.get(key);
40 public static void remove(String key) {
41 org.slf4j.MDC.remove(key);
  /external/vboot_reference/firmware/lib/cryptolib/
rsa_utility.c 16 int key_len; /* Key length in bytes. (int type matches siglen_map) */
30 RSAPublicKey* key = (RSAPublicKey*) VbExMalloc(sizeof(RSAPublicKey)); local
31 key->n = NULL;
32 key->rr = NULL;
33 key->len = 0;
34 key->algorithm = kNumAlgorithms;
35 return key;
38 void RSAPublicKeyFree(RSAPublicKey* key) {
39 if (key) {
40 if (key->n
49 RSAPublicKey* key = RSAPublicKeyNew(); local
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
ModifierKeyTest.java 11 ModifierKey key = ModifierKey.fromString("shiftL"); local
12 assertEquals("", ModifierKey.SHIFT_LEFT, key);
25 ModifierKey key = ModifierKey.COMMAND; local
26 assertEquals("", ModifierKey.COMMAND, key.sibling());
27 assertEquals("", ModifierKey.COMMAND, key.parent());
28 assertEquals("", ImmutableList.<ModifierKey> of(), key.children());
32 ModifierKey key = ModifierKey.CONTROL_RIGHT; local
33 assertEquals("", ModifierKey.CONTROL_LEFT, key.sibling());
34 assertEquals("", ModifierKey.CONTROL, key.parent());
35 assertEquals("", ImmutableList.<ModifierKey> of(), key.children())
39 ModifierKey key = ModifierKey.ALT; local
    [all...]
  /external/wpa_supplicant_8/src/crypto/
crypto_internal-rsa.c 22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len)
25 crypto_rsa_import_public_key(key, len);
38 struct crypto_private_key * crypto_private_key_import(const u8 *key,
45 res = pkcs8_key_import(key, len);
51 res = pkcs8_enc_key_import(key, len, passwd);
56 /* Not PKCS#8, so try to import PKCS #1 encoded RSA private key */
58 "key");
60 crypto_rsa_import_private_key(key, len);
72 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key,
76 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPrivateCrtKey.java 18 * A provider representation for a RSA private key, with CRT factors included.
34 * construct a private key from it's org.bouncycastle.crypto equivalent.
36 * @param key the parameters object representing the private key.
39 RSAPrivateCrtKeyParameters key)
41 super(key);
43 this.publicExponent = key.getPublicExponent();
44 this.primeP = key.getP();
45 this.primeQ = key.getQ();
46 this.primeExponentP = key.getDP()
213 RSAPrivateCrtKey key = (RSAPrivateCrtKey)o; local
    [all...]
  /external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/
heap.h 38 KeyType key; member in class:tensorflow::nearest_neighbor::HeapBase::Item
42 Item(const KeyType& k, const DataType& d) : key(k), data(d) {}
44 bool operator<(const Item& i2) const { return key < i2.key; }
47 void ExtractMin(KeyType* key, DataType* data) {
48 *key = v_[0].key;
61 void InsertUnsorted(const KeyType& key, const DataType& data) {
63 v_.push_back(Item(key, data));
65 v_[num_elements_].key = key
    [all...]
  /external/autotest/client/profilers/readprofile/
avgprofile 12 foreach $key (keys %map) {
13 $value = int $map{$key}/5;
14 print "$value $key\n";
  /external/curl/docs/cmdline-opts/
proxy-key-type.d 1 Long: proxy-key-type
3 Help: Private key file type for proxy
6 Same as --key-type but used in HTTPS proxy context.
  /external/libchrome/base/sampling_heap_profiler/
lock_free_address_hash_set.h 19 // over the same key. Concurrent writes of distinct keys are ok.
21 // or |Contains| even over the same key.
30 // nodes each corresponding to a key.
33 // just marks the node as empty by placing nullptr into its key field.
47 // Checks if the |key| is in the set. Can be executed concurrently with
49 bool Contains(void* key) const;
51 // Removes the |key| from the set. The key must be present in the set before
55 // Concurrent |Insert| or |Remove| executions over the same key are not
57 void Remove(void* key);
87 subtle::AtomicWord key; member in struct:base::LockFreeAddressHashSet::Node
    [all...]
  /external/ltp/testcases/kernel/syscalls/keyctl/
keyctl01.c 21 * Manipulate the kernel's key management facility
35 key_serial_t key; local
43 for (key = INT32_MAX; key > INT32_MIN; key--) {
44 TEST(keyctl(KEYCTL_READ, key));
49 TEST(keyctl(KEYCTL_REVOKE, key));
  /external/tensorflow/tensorflow/core/util/rpc/
rpc_factory.cc 23 bool GetEnvVar(const char* key, const string& default_value, string* value) {
24 const char* env_value = std::getenv(key);
34 bool GetEnvVar(const char* key, const int64& default_value, int64* value) {
35 const char* env_value = std::getenv(key);
44 bool GetEnvVar(const char* key, const uint64& default_value, uint64* value) {
45 const char* env_value = std::getenv(key);
  /external/vboot_reference/host/lib/
host_key.c 25 VbPrivateKey* key; local
34 /* Read private key */
37 VBDEBUG(("%s(): Couldn't open key file: %s\n", __FUNCTION__, filename));
43 VBDEBUG(("%s(): Couldn't read private key from file: %s\n", __FUNCTION__,
48 /* Store key and algorithm in our struct */
49 key = (VbPrivateKey*)malloc(sizeof(VbPrivateKey));
50 if (!key) {
54 key->rsa_private_key = rsa_key;
55 key->algorithm = algorithm;
57 /* Return the key */
110 VbPrivateKey *key; local
149 VbPublicKey* key = (VbPublicKey*)malloc(sizeof(VbPublicKey) + key_size); local
162 VbPublicKey* key; local
230 VbPublicKey* key; local
    [all...]
  /external/openssh/regress/
keygen-convert.sh 7 # generate user key for agent
8 trace "generating $t key"
9 rm -f $OBJ/$t-key
10 ${SSHKEYGEN} -q -N "" -t $t -f $OBJ/$t-key
13 ${SSHKEYGEN} -q -e -f $OBJ/$t-key >$OBJ/$t-key-rfc || \
17 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \
20 cmp $OBJ/$t-key-rfc $OBJ/$t-key-rfc.pub ||
    [all...]
  /external/ImageMagick/MagickCore/
thread.c 73 % CreateMagickThreadKey() creates a thread-specific data key visible to all
78 % MagickThreadKey CreateMagickThreadKey(MagickThreadKey *key)
82 % o key: opaque objects used to locate thread-specific data.
84 % o destructor: associate an optional destructor with each key value.
87 MagickExport MagickBooleanType CreateMagickThreadKey(MagickThreadKey *key,
91 return(pthread_key_create(key,destructor) == 0 ? MagickTrue : MagickFalse);
94 *key=TlsAlloc();
95 return(*key != TLS_OUT_OF_INDEXES ? MagickTrue : MagickFalse);
101 keys=(MagickThreadValue **) key;
132 % DeleteMagickThreadKey() deletes a thread-specific data key
    [all...]
  /external/icu/icu4c/source/tools/ctestfw/unicode/
datamap.h 40 * @param key name of the data field.
43 virtual const UnicodeString getString(const char* key, UErrorCode &status) const = 0;
47 * @param key name of the data field.
50 virtual int32_t getInt(const char* key, UErrorCode &status) const = 0;
54 * @param key name of the data field.
58 virtual int32_t getInt28(const char* key, UErrorCode &status) const = 0;
62 * @param key name of the data field.
66 virtual uint32_t getUInt28(const char* key, UErrorCode &status) const = 0;
71 * @param key name of the data field.
75 virtual const int32_t *getIntVector(int32_t &length, const char *key, UErrorCode &status) const = 0
    [all...]
  /external/toybox/toys/pending/
getfattr.c 37 char *keys, *key; local
56 for (key = keys, key_count = 0; key-keys < keys_len; key += strlen(key)+1)
59 for (key = keys, i = 0; key-keys < keys_len; key += strlen(key)+1)
60 sorted_keys[i++] = key;
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java 71 String key = "key"; local
73 long before = map.get(key);
74 long result = map.incrementAndGet(key);
75 long after = map.get(key);
81 assertTrue(map.containsKey(key));
82 assertEquals(ITERATIONS, (int) map.get(key));
87 String key = "key"; local
88 assertEquals(0L, map.get(key));
104 String key = "key"; local
120 String key = "key"; local
137 String key = "key"; local
153 String key = "key"; local
170 String key = "key"; local
186 String key = "key"; local
203 String key = "key"; local
220 String key = "key"; local
238 String key = "key"; local
255 String key = "key"; local
273 String key = "key"; local
290 String key = "key"; local
331 String key = "key"; local
365 String key = "key"; local
383 String key = "key"; local
401 String key = "key"; local
419 String key = "key"; local
443 String key = "key"; local
462 String key = "key"; local
487 String key = "key"; local
508 Object key = new Object(); local
563 final String key = "key"; local
    [all...]

Completed in 2241 milliseconds

1 23 4 5 6 7 8 91011>>