Searched refs:km (Results 1 – 7 of 7) sorted by relevance
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_crypto_ed25519.c | 130 struct KeyMaterial25519 *km = (struct KeyMaterial25519 *)key->data; in CheckEd25519Material() local 131 if (((key->size - totalSize) < km->pubKeySize) || in CheckEd25519Material() 132 ((key->size - totalSize) < km->priKeySize) || in CheckEd25519Material() 133 (km->pubKeySize > (UINT32_MAX - km->priKeySize)) || in CheckEd25519Material() 134 ((key->size - totalSize) < (km->pubKeySize + km->priKeySize))) { in CheckEd25519Material() 136 "%" LOG_PUBLIC "u", key->size, km->pubKeySize, km->priKeySize); in CheckEd25519Material() 150 struct KeyMaterial25519 *km = (struct KeyMaterial25519 *)key->data; in GetEd25519PubKeyCheck() local 151 if ((km->pubKeySize > (UINT32_MAX - sizeof(struct KeyMaterial25519))) || in GetEd25519PubKeyCheck() 152 (keyOut->size < (sizeof(struct KeyMaterial25519) + km->pubKeySize))) { in GetEd25519PubKeyCheck()
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/ |
D | measure_format_patterns.txt | 1 …km|lap|in|cm|stroke|mi|yd", "%s %s", "#", "", "", "", "", "", "", "", "", "", "", "", "h", "", "ho… 2 zh-Hans "16", "h|min|kcal|time|bpm|m|step|jump|ft|km|lap|in|cm|stroke|mi|yd", "%s %s", "#", "", "",…
|
D | plural.txt | 34 km "", "", "", "", "", ""
|
D | decimalPlurals.txt | 34 km "", "", "", "", "", ""
|
D | locales.txt | 307 km 308 km-KH
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_curve25519.c | 116 struct KeyMaterial25519 *km = (struct KeyMaterial25519 *)nativeKey->data; in ImportX25519EvpKey() local 117 uint32_t offset = sizeof(struct KeyMaterial25519) + km->pubKeySize; in ImportX25519EvpKey() 119 …*ours = EVP_PKEY_new_raw_private_key(EVP_PKEY_X25519, NULL, nativeKey->data + offset, km->priKeySi… in ImportX25519EvpKey() 224 struct KeyMaterial25519 *km = (struct KeyMaterial25519 *)key->data; in HksOpensslEd25519Sign() local 225 uint32_t offset = sizeof(struct KeyMaterial25519) + km->pubKeySize; in HksOpensslEd25519Sign() 227 key->data + offset, km->priKeySize); in HksOpensslEd25519Sign() 271 struct KeyMaterial25519 *km = (struct KeyMaterial25519 *)key->data; in HksOpensslEd25519Verify() local 273 key->data + sizeof(struct KeyMaterial25519), km->pubKeySize); in HksOpensslEd25519Verify()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_crypto_adapter.c | 373 const struct KeyMaterial25519 *km = (struct KeyMaterial25519 *)(keyMaterial->data); in GetCurve25519FromKeyMaterial() local 375 uint32_t size = (isPubKey ? km->pubKeySize : km->priKeySize); in GetCurve25519FromKeyMaterial() 378 km->pubKeySize, km->priKeySize); in GetCurve25519FromKeyMaterial() 385 …uint8_t *tmp = (isPubKey ? (keyMaterial->data + offset) : (keyMaterial->data + offset + km->pubKey… in GetCurve25519FromKeyMaterial()
|