Searched refs:SubjectSize (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptX509.c318 @param[in, out] SubjectSize The size in bytes of the CertSubject buffer on input,
322 If SubjectSize is NULL, then return FALSE.
325 @retval FALSE Invalid certificate, or the SubjectSize is too small for the result.
326 The SubjectSize will be updated with the required size.
335 IN OUT UINTN *SubjectSize
345 if (Cert == NULL || SubjectSize == NULL) {
364 if (*SubjectSize < (UINTN) X509Name->bytes->length) {
365 *SubjectSize = (UINTN) X509Name->bytes->length;
368 *SubjectSize = (UINTN) X509Name->bytes->length;
370 CopyMem (CertSubject, (UINT8 *)X509Name->bytes->data, *SubjectSize); local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIpSecCryptIo.c989 @param[out] SubjectSize The size of Certificate Subject in bytes.
1000 OUT UINTN *SubjectSize
1007 *SubjectSize = 0;
1008 X509GetSubjectName (InCert, CertSize, *CertSubject, SubjectSize);
1010 *CertSubject = AllocateZeroPool (*SubjectSize);
1011 if (!X509GetSubjectName (InCert, CertSize, *CertSubject, SubjectSize)) {
H A DIpSecCryptIo.h812 @param[out] SubjectSize The size of Certificate Subject in bytes.
823 OUT UINTN *SubjectSize
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/
H A DRsaVerify2.c213 UINTN SubjectSize; local
278 SubjectSize = 0;
279 Status = X509GetSubjectName (TestCert, sizeof (TestCert), NULL, &SubjectSize);
280 Subject = (UINT8 *)AllocatePool (SubjectSize);
281 Status = X509GetSubjectName (TestCert, sizeof (TestCert), Subject, &SubjectSize);
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/
H A DPayload.c288 UINTN SubjectSize; local
305 SubjectSize = 0;
312 &SubjectSize
314 if (SubjectSize != 0) {
318 IdSize = sizeof (IKEV2_ID) + SubjectSize;
336 CopyMem (Id + 1, CertSubject, SubjectSize);
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/Library/
H A DBaseCryptLib.h1459 @param[in, out] SubjectSize The size in bytes of the CertSubject buffer on input,
1463 If SubjectSize is NULL, then return FALSE.
1466 @retval FALSE Invalid certificate, or the SubjectSize is too small for the result.
1467 The SubjectSize will be updated with the required size.
1476 IN OUT UINTN *SubjectSize

Completed in 78 milliseconds