Text file src/crypto/x509/internal/macos/security.s

     1  // Copyright 2020 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build darwin
     6  
     7  #include "textflag.h"
     8  
     9  // The trampolines are ABIInternal as they are address-taken in
    10  // Go code.
    11  
    12  TEXT ·x509_SecTrustSettingsCopyCertificates_trampoline(SB),NOSPLIT,$0-0
    13  	JMP	x509_SecTrustSettingsCopyCertificates(SB)
    14  TEXT ·x509_SecTrustSettingsCopyTrustSettings_trampoline(SB),NOSPLIT,$0-0
    15  	JMP	x509_SecTrustSettingsCopyTrustSettings(SB)
    16  TEXT ·x509_SecPolicyCopyProperties_trampoline(SB),NOSPLIT,$0-0
    17  	JMP	x509_SecPolicyCopyProperties(SB)
    18  TEXT ·x509_SecTrustCreateWithCertificates_trampoline(SB),NOSPLIT,$0-0
    19  	JMP x509_SecTrustCreateWithCertificates(SB)
    20  TEXT ·x509_SecCertificateCreateWithData_trampoline(SB),NOSPLIT,$0-0
    21  	JMP x509_SecCertificateCreateWithData(SB)
    22  TEXT ·x509_SecPolicyCreateSSL_trampoline(SB),NOSPLIT,$0-0
    23  	JMP x509_SecPolicyCreateSSL(SB)
    24  TEXT ·x509_SecTrustSetVerifyDate_trampoline(SB),NOSPLIT,$0-0
    25  	JMP x509_SecTrustSetVerifyDate(SB)
    26  TEXT ·x509_SecTrustEvaluate_trampoline(SB),NOSPLIT,$0-0
    27  	JMP x509_SecTrustEvaluate(SB)
    28  TEXT ·x509_SecTrustGetResult_trampoline(SB),NOSPLIT,$0-0
    29  	JMP x509_SecTrustGetResult(SB)
    30  TEXT ·x509_SecTrustEvaluateWithError_trampoline(SB),NOSPLIT,$0-0
    31  	JMP x509_SecTrustEvaluateWithError(SB)
    32  TEXT ·x509_SecTrustGetCertificateCount_trampoline(SB),NOSPLIT,$0-0
    33  	JMP x509_SecTrustGetCertificateCount(SB)
    34  TEXT ·x509_SecTrustGetCertificateAtIndex_trampoline(SB),NOSPLIT,$0-0
    35  	JMP x509_SecTrustGetCertificateAtIndex(SB)
    36  TEXT ·x509_SecCertificateCopyData_trampoline(SB),NOSPLIT,$0-0
    37  	JMP x509_SecCertificateCopyData(SB)
    38  

View as plain text