HomeSort by relevance Sort by last modified time
    Searched defs:PublicKey (Results 1 - 11 of 11) sorted by null

  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
Rsa2048Sha256GenerateKeys.py 128 PublicKey = ''
130 PublicKey = PublicKey + chr(int(PublicKeyHexString[Index:Index + 2], 16))
136 Process.stdin.write (PublicKey)
Rsa2048Sha256Sign.py 48 # UINT8 PublicKey[256];
52 EFI_CERT_BLOCK_RSA_2048_SHA256 = collections.namedtuple('EFI_CERT_BLOCK_RSA_2048_SHA256', ['HashType','PublicKey','Signature'])
153 PublicKey = ''
155 PublicKey = PublicKey + chr(int(PublicKeyHexString[0:2],16))
187 args.OutputFile.write(PublicKey)
209 if Header.PublicKey <> PublicKey:
  /device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/
FmpAuthenticationLibRsa2048Sha256.c 80 UINT8 *PublicKey;
122 CryptoStatus = Sha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->PublicKey));
136 // Fail if the PublicKey is not one of the public keys in PcdRsa2048Sha256PublicKeyBuffer
138 PublicKey = (VOID *)PublicKeyData;
142 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) {
146 PublicKey = PublicKey + SHA256_DIGEST_SIZE;
170 CryptoStatus = RsaSetKey (Rsa, RsaKeyN, CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->PublicKey));
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/
PeiRsa2048Sha256GuidedSectionExtractLib.c 139 UINT8 *PublicKey;
239 CryptoStatus = Sha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->PublicKey));
253 // Fail if the PublicKey is not one of the public keys in PcdRsa2048Sha256PublicKeyBuffer
255 PublicKey = (UINT8 *)PcdGetPtr (PcdRsa2048Sha256PublicKeyBuffer);
256 DEBUG ((DEBUG_VERBOSE, "PeiPcdRsa2048Sha256: PublicKeyBuffer = %p\n", PublicKey));
257 ASSERT (PublicKey != NULL);
264 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) {
268 PublicKey = PublicKey + SHA256_DIGEST_SIZE;
    [all...]
  /external/boringssl/src/ssl/test/runner/ed25519/
ed25519.go 41 // PublicKey is the type of Ed25519 public keys.
42 type PublicKey []byte
47 // Public returns the PublicKey corresponding to priv.
48 func (priv PrivateKey) Public() crypto.PublicKey {
49 publicKey := make([]byte, PublicKeySize)
50 copy(publicKey, priv[32:])
51 return PublicKey(publicKey)
78 func GenerateKey(rand io.Reader) (PublicKey, PrivateKey, error) {
89 publicKey := make([]byte, PublicKeySize
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/Guid/
WinCertificate.h 66 UINT8 PublicKey[256];
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/
DxeRsa2048Sha256GuidedSectionExtractLib.c 142 UINT8 *PublicKey;
255 CryptoStatus = Sha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->PublicKey));
269 // Fail if the PublicKey is not one of the public keys in PcdRsa2048Sha256PublicKeyBuffer
271 PublicKey = (UINT8 *)PcdGetPtr (PcdRsa2048Sha256PublicKeyBuffer);
272 DEBUG ((DEBUG_VERBOSE, "DxePcdRsa2048Sha256: PublicKeyBuffer = %p\n", PublicKey));
273 ASSERT (PublicKey != NULL);
280 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) {
284 PublicKey = PublicKey + SHA256_DIGEST_SIZE;
    [all...]
  /external/python/rsa/rsa/
key.py 19 Create new keys with the newkeys() function. It will give you a PublicKey and a
181 class PublicKey(AbstractKey):
190 >>> PublicKey(5, 3)
191 PublicKey(5, 3)
193 >>> key = PublicKey(5, 3)
211 return 'PublicKey(%i, %i)' % (self.n, self.e)
225 if not isinstance(other, PublicKey):
242 :return: a PublicKey object
252 >>> PublicKey._load_pkcs1_der(der)
253 PublicKey(2367317549, 65537
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Common/
UefiMultiPhase.h 122 UINT8 PublicKey[256];
  /external/boringssl/src/ssl/test/runner/hrss/
hrss.go 1029 type PublicKey struct {
1033 func ParsePublicKey(in []byte) (*PublicKey, bool) {
1034 ret := new(PublicKey)
1041 func (pub *PublicKey) Marshal() []byte {
1047 func (pub *PublicKey) Encap(rand io.Reader) (ciphertext []byte, sharedKey []byte) {
1073 func (pub *PublicKey) owf(m, r *poly) []byte {
1093 PublicKey
1149 expectedCiphertext := priv.PublicKey.owf(&m, &rPoly)
  /device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
Payload.c     [all...]

Completed in 1173 milliseconds